getCurrentStep

returns the number of the Hint's current step

number getCurrentStep();
numberthe number of the current step

Example

webix.ui({
    view: "hint",
    id: "hint",
    steps: [
        {
            el: ".div1",
            title: "Welcome to Booking App!",
            text: "Click here to check out regular flights",
            event:"click"
        },
        {
            el: ".div2",
            title: "Get Flights Info in a Click!",
            text: "Click here to take a look at all flights info",
            event:"click"
        }
    ] 
});
 
var step = $$("hint").getCurrentStep();

Details

The number of the first step is 1.

See also
  • Articles
  • Back to top