Created
December 11, 2020 19:02
-
-
Save mhartington/cf9d2271eb778880b0918fe41d857ef8 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