scroll

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 that 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
    If you have not checked yet, be sure to visit site of our main product Webix javascript web framework and page of javascript menu library product.