Class: OverflowScroller

ui.OverflowScroller

new ui.OverflowScroller ()

Element representing a decoration for overflowing boxes, which allows to scroll the box. This is useful for toolbars or side panels.

Properties:
Name Type Description
stepSize number

(default: theme.paddingMedium) The step size for scrolling.

styleOfHandle template

The handle style template. It is expected to have a property edge that will be set to the particular edge (one of top|bottom|left|right).

target html.Box

(default: parent) The target box.

Example
// a toolbar
Box {
    fillWidth: true
    layout: "center-row"

    Button {
        icon: "ui-cut"
    }

    Button {
        icon: "ui-copy"
    }

    Button {
        icon: "ui-paste"
    }

    OverflowScroller { }
}

Extends