Skip to main content

beforeLazyLoad

fires before sending a request to the server

beforeLazyLoad: () => boolean | void;

Returns:

Return false to block sending a request to the server; otherwise, true.

Example

component.data.events.on("BeforeLazyLoad", function () {    // your code here    return false;});

Change log:

added in v6.4