@serenity-is/corelib / LazyLoadHelper
Namespace: LazyLoadHelper
Table of contents
Functions
Functions
executeEverytimeWhenShown
▸ executeEverytimeWhenShown(el
, callback
, callNowIfVisible
): void
Parameters
Name | Type |
---|---|
el |
HTMLElement | ArrayLike <HTMLElement > |
callback |
Function |
callNowIfVisible |
boolean |
Returns
void
Defined in
src/ui/helpers/lazyloadhelper.ts:5
executeOnceWhenShown
▸ executeOnceWhenShown(el
, callback
): void
Parameters
Name | Type |
---|---|
el |
HTMLElement | ArrayLike <HTMLElement > |
callback |
Function |
Returns
void