Companion

Properties

Link copied to clipboard

Ordered built-in and application-owned operations.

Link copied to clipboard

Legacy built-in operation view. Custom elements are available through elements.

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun DomposableModifier.boxAlignment(horizontal: DomposableAlignment = DomposableAlignment.Center, vertical: DomposableAlignment = DomposableAlignment.Center): DomposableModifier
Link copied to clipboard
fun DomposableModifier.clickable(onClick: () -> Unit, role: DomposableClickRole = DomposableClickRole.Button, enabled: Boolean = true, onClickLabel: String? = null): DomposableModifier
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun DomposableModifier.htmlAttributes(attributes: AttrsScope<*>.() -> Unit): DomposableModifier

Applies app-owned attributes and styles directly to the rendered HTML element.

Link copied to clipboard

Anchors an HTML menu to an existing trigger without adding a wrapper around that trigger.

Link copied to clipboard

Prefers a side when it fits; otherwise the menu uses its normal viewport-aware placement.

Resolves the preferred side from the rendered menu root; this modifier is JS-only.

Link copied to clipboard
fun DomposableModifier.maxViewportHeight(fraction: Float = 1.0f, subtract: DomposableLength = 0.dp, unit: DomposableViewportUnit = DomposableViewportUnit.Dynamic): DomposableModifier

Caps a scrollable region without expanding shorter content.

Link copied to clipboard
fun DomposableModifier.minViewportHeight(fraction: Float = 1.0f, subtract: DomposableLength = 0.dp, unit: DomposableViewportUnit = DomposableViewportUnit.Dynamic): DomposableModifier

A content-sized document that fills at least the chosen viewport height.

Link copied to clipboard
Link copied to clipboard

Insets are logical: start/end follow the platform's layout direction.

Link copied to clipboard
Link copied to clipboard

Clockwise visual rotation in degrees, without changing measured layout size.

Link copied to clipboard

Visual transform around the center; measured layout size is unchanged. Negative values mirror content.

Link copied to clipboard
fun DomposableModifier.shadow(elevation: DomposableLength, shape: DomposableShape = DomposableShape.Rectangle): DomposableModifier

Native elevation or a CSS shadow. Does not clip content; use clip separately when needed.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Appends a native-only operation without replacing the portable operations already in the chain.

Link copied to clipboard

Native-only conversion. Application elements require an explicit renderer and are never dropped.

Link copied to clipboard
fun DomposableModifier.viewportHeight(fraction: Float = 1.0f, subtract: DomposableLength = 0.dp, unit: DomposableViewportUnit = DomposableViewportUnit.Dynamic): DomposableModifier

Bounds content using the host viewport, rather than its parent's available height. subtract reserves app-owned chrome. Native uses the current window size for both units; HTML uses dvh/svh. Neither includes additional safe-area padding automatically.

Link copied to clipboard

Must be consumed by a row or column child renderer.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun DomposableModifier.wrapContentSize(horizontal: DomposableAlignment = DomposableAlignment.Center, vertical: DomposableAlignment = DomposableAlignment.Center): DomposableModifier
Link copied to clipboard