OrientationMixin

class OrientationMixin(default: Orientation) : OrientationProperty

Default implementation of the OrientationProperty interface in order to apply this as mixin for a component

Parameters

default

set the default orientation for the implementing component (checkBoxGroup needs vertical, but slider horizontal orientation for example)

Constructors

OrientationMixin
Link copied to clipboard
js
fun OrientationMixin(default: Orientation)
set the default orientation for the implementing component (checkBoxGroup needs vertical, but slider horizontal orientation for example)

Properties

orientation
Link copied to clipboard
js
open override val orientation: ComponentProperty<OrientationContext.() -> Orientation>