Skip to content
This repository has been archived by the owner on Dec 26, 2023. It is now read-only.
Karl edited this page Apr 11, 2018 · 3 revisions

Type: Function

Default undefined

Define a callback to be called when the instance has fully loaded / rendered.

The callback has one argument which is the current value(s) of the input;

const rangeable = new Rangeable(input, {
    onInit: function(value) {
        // do something when the instance has loaded
    }
});
Clone this wiki locally