Scoop API

scoop:scoop.ui.component:0.1.0

ResizableProps

class ResizableProps

source · line 53
public
public class ResizableProps public constructor(
    public val sizes: Binding<Array<ResizableSize>>,
    public val panels: Array<ResizablePanelProps>,
    public val handles: Array<ResizableHandleOptions> = [],
    public val orientation: Orientation = Orientation.Horizontal,
    public val enabled: Boolean = true,
    public val withHandle: Boolean = false,
    public val length: Double? = None,
    public val keyboardStep: Double = 10.0,
    public val dragThreshold: Double = 4.0,
    public val theme: ThemeSource? = None,
    public val style: StyleOverride = styleOverride(),
    public val clip: Boolean = false,
    public val onSizesChange: (Array<ResizableSize>) -> Unit = {},
    public val onSizesCommit: (Array<ResizableSize>) -> Unit = {},
    public val onSizesCancel: (Array<ResizableSize>, DragCancelReason) -> Unit = { _, _ -> }
)

constructor constructor

source · line 53
public
constructor(public val sizes: Binding<Array<ResizableSize>>, public val panels: Array<ResizablePanelProps>, public val handles: Array<ResizableHandleOptions> = [], public val orientation: Orientation = Orientation.Horizontal, public val enabled: Boolean = true, public val withHandle: Boolean = false, public val length: Double? = None, public val keyboardStep: Double = 10.0, public val dragThreshold: Double = 4.0, public val theme: ThemeSource? = None, public val style: StyleOverride = styleOverride(), public val clip: Boolean = false, public val onSizesChange: (Array<ResizableSize>) -> Unit = {}, public val onSizesCommit: (Array<ResizableSize>) -> Unit = {}, public val onSizesCancel: (Array<ResizableSize>, DragCancelReason) -> Unit = { _, _ -> })