scroll of ui.menu, Properties Webix Docs

enables/disables the scroll bar

boolean|string scroll;

Values

  • "y" (or true)

    enables vertical scroll

  • "x"

    enables horizontal scroll

  • "xy"

    enables both scrolls

  • "auto"

    enables scroll only if the content of the list is bigger than the container

  • false

    disables both scrolls

  • Example

    webix.ui({
        view:"menu",
        layout:"y",
        scroll:"auto",
        width:200,
        select:true,
        data:[
            { value:"Translate", data:[ "English","Belarusian" ]},
            { value:"Post", data:[ "Facebook", "Google+", "Twitter" ]},
            { value:"Info" }
        ]
    });

    Default value:

    false

    Related samples

    See also

    Back to top