mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(item-sliding): query in didLoad
This commit is contained in:
@@ -67,7 +67,7 @@ export class ItemSliding implements ComponentInterface {
|
||||
*/
|
||||
@Event() ionDrag!: EventEmitter;
|
||||
|
||||
async connectedCallback() {
|
||||
async componentDidLoad() {
|
||||
this.item = this.el.querySelector('ion-item');
|
||||
this.contentEl = findClosestIonContent(this.el);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user