Scoop API

scoop:scoop.ui.component:0.1.0

ViewportScrollbars

class ViewportScrollbars

source · line 25
public
public class ViewportScrollbars public constructor(
    private val scope: ComponentScope,
    private val viewport: ScrollViewport,
    parent: InputArea,
    parentSemantics: SemanticsHandle? = None,
    private val options: () -> ViewportScrollbarOptions
)

Draw after the owner's content. Its input area, focus and ScrollViewport remain the owner's.

constructor constructor

source · line 25
public
constructor(private val scope: ComponentScope, private val viewport: ScrollViewport, parent: InputArea, parentSemantics: SemanticsHandle? = None, private val options: () -> ViewportScrollbarOptions)

function update

source · line 75
public
public fun update(): Boolean

Returns whether this configuration changes the reserved viewport size.