getCurrentStep

возвращает номер текущей подсказки компонента Hint

number getCurrentStep();
numberномер подсказки

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

Отсчет ведется с 1.

See also
  • Articles
  • Наверх