-
-
Save amilamen/6b0ae6c639018a27a15246af0a3e76a1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
async toggle() { | |
if (!this._playerModal) { | |
const { PlayerModalComponent } = await import( '../player-modal/player-modal.component'); | |
this._playerModal = PlayerModalComponent; | |
} | |
const modalInstance = await this.modalCtrl.create({ | |
component: this._playerModal, | |
swipeToClose: true, | |
cssClass: 'full-modal', | |
}); | |
await modalInstance.present(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment