возвращает номер текущей подсказки компонента Hint
number | номер подсказки |
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();
Отсчет ведется с 1.