/** * InterventionRequest * @description Wrapper component * @author ravorona */ export declare class InterventionRequest { /** * Own properties */ private component; /** * Component element reference */ el: HTMLElement; /** * Source */ src: string; /** * Alt attribute */ alt: string; /** * Width attribute */ width: number; /** * Height attribute */ height: number; /** * Base URL */ baseUrl?: string; /** * Media formats */ formats?: string; /** * Mime type */ mimeType?: string; /** * Embed mode * use iframe if true */ embed?: boolean; /** * Strategy */ strategy?: string; /** * Force intersection observer * for lazy load */ forceIo?: boolean; /** * Disable url processing. * Source is directly applied as it is in attributes */ noProcess?: boolean; /** * Native lazyloading * see https://caniuse.com/#feat=loading-lazy-attr * see https://web.dev/native-lazy-loading/ * * auto: Default lazy-loading behavior of the browser, which is the same as not including the attribute. * lazy: Defer loading of the resource until it reaches a calculated distance from the viewport. * eager: Load the resource immediately, regardless of where it's located on the page. * @default auto */ loading?: 'lazy' | 'eager' | 'auto'; private classnames; /** * Loading complete listener */ handleLoadingCompleted(): void; private media?; /** * Component will load * Component lifecycle method * @return void */ componentWillLoad(): void; /** * Component will render * Component lifecycle method * @return void */ componentWillRender(): void; /** * Component render * Component lifecycle method * @return HTMLInterventionRequestElement */ render(): HTMLInterventionRequestElement; }