MCPcopy
hub / github.com/hakimel/Ladda / BindOptions

Interface BindOptions

js/ladda.d.ts:11–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9}
10
11export interface BindOptions {
12 /**
13 * Number of milliseconds to wait before automatically cancelling the animation.
14 */
15 timeout?: number,
16
17 /**
18 * A function to be called with the Ladda instance when a target button is clicked.
19 */
20 callback?: (instance: LaddaButton) => void,
21}
22
23/**
24 * Creates a new instance of Ladda which wraps the target button element.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…