Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
async componentWillLoad() {
this.moreColors = !isIPad();
this.deckElement = document ? document.querySelector('deckgo-deck') : undefined;
this.imageHelper = new ImageHelper(this.deckDidChange, this.blockSlide, this.signIn);
}
async componentWillLoad() {
if (this.deckOrSlide) {
this.qrCode = this.selectedElement && this.selectedElement.tagName && this.selectedElement.tagName.toUpperCase() === 'deckgo-slide-qrcode'.toUpperCase();
this.chart = this.selectedElement && this.selectedElement.tagName && this.selectedElement.tagName.toUpperCase() === 'deckgo-slide-chart'.toUpperCase();
this.poll = this.selectedElement && this.selectedElement.tagName && this.selectedElement.tagName.toUpperCase() === 'deckgo-slide-poll'.toUpperCase();
}
this.code = this.selectedElement && this.selectedElement.nodeName && this.selectedElement.nodeName.toLocaleLowerCase() === SlotType.CODE;
this.applyToTargetElement = this.code ? TargetElement.CODE : (this.qrCode || this.poll ? TargetElement.QR_CODE : (this.chart ? TargetElement.CHART : TargetElement.SLIDE));
this.moreColors = !isIPad();
}
componentWillLoad() {
this.fullscreenEnable = !isIPad();
}