prevButton

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

boolean|string prevButton;

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"
        }
    ],
    prevButton: "Back"  // новая надпись на кнопке
});
 
// another hint
webix.ui({
    view: "hint",
    id: "hint",
    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"
        }
    ],
    prevButton: false   // кнопка будет скрыта
});


Default value:

true
Details

По умолчанию на кнопке написано "Previous". Чтобы изменить надпись, задайте настройку prevButton строкой.

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