Skip to main content

Home > @jsplumbtoolkit/browser-ui > onDocumentReady

onDocumentReady() function

Execute the given function when the DOM is ready, or if the DOM is already ready, execute the given function immediately.

Signature:

export declare function onDocumentReady(f: Function): void;

Parameters

ParameterTypeDescription
fFunction

Returns:

void