onEnd

fires after the user views the last hint

void onEnd(number step);
stepnumberthe number of the step

Example

$$("hint").attachEvent("onEnd", function(step){
    webix.confirm({
        title:"The End",
        ok:"Yes", 
        cancel:"No",
        text:"Do you want to resume?",
        callback:function(result){
            if (result)
                $$("hint").resume();
        }
    });
});

See also
Back to top