nextButton

используется для настройки кнопки Next в подсказках

boolean|string nextButton;

Example

webix.ui({
    view: "hint",
    id: "hint1",
    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"
        }
    ],
    nextButton: "Дальше" // изменяет надпись на кнопке
});
 
// другой hint
webix.ui({
    view: "hint",
    id: "hint2",
    steps: [
        {
            el: ".webix_column.webix_first",
            eventEl: ".webix_table_checkbox",
            title: "Working with a datatable is easy",
            text: "You can select elements here. Check the first checkbox",
            event:"click"
 
        },
        {
            el: "button",
            title: "Pager can navigate to the previous and next page",
            text: "Click 'skip' to exit or click the prev button to start once again",
            event: "click"
        }
    ],       
    nextButton: false // кнопка Next будет скрыта
});


Default value:

true
Details

По умолчанию, на кнопке написано "Next" или "End tour" (для последней подсказки). Вы можете поменять надпись, задав свойство nextButton строкой.

See also
  • API
  • Articles
  • Наверх