Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
async componentDidLoad() {
await hideLazyLoadImages(this.el);
this.initWindowResize();
this.slideDidLoad.emit();
}
async componentDidLoad() {
await hideLazyLoadImages(this.el);
this.initWindowResize();
await this.initFrameTitle();
await this.initSize();
this.slideDidLoad.emit();
}
async componentDidLoad() {
await hideLazyLoadImages(this.el);
this.crop = this.el.shadowRoot.querySelector('.crop');
this.bigImg = this.el.shadowRoot.querySelector('.big-image');
this.slideDidLoad.emit();
}
async componentDidLoad() {
await hideLazyLoadImages(this.el);
this.initWindowResize();
await this.initSize();
this.alignCenter = await this.initCenterAlign();
this.slideDidLoad.emit();
}
async componentDidLoad() {
await hideLazyLoadImages(this.el);
this.initWindowResize();
this.slideDidLoad.emit();
}
async componentDidLoad() {
await hideLazyLoadImages(this.el);
const img: HTMLImageElement = this.el.shadowRoot.querySelector('img');
if (img) {
img.addEventListener('load', () => {
this.loaded = true;
this.gifLoaded.emit(true);
}, false);
}
}