@moxijs/ui - v0.3.5
    Preparing search index...

    Interface BoxModel

    Represents the box model for a UI component. Similar to CSS box model with width, height, padding, margin, and border. Extended with CSS-lite flex layout properties.

    interface BoxModel {
        border?: EdgeInsets;
        bottom?: number;
        display?: DisplayMode;
        flex?: FlexProps;
        height: SizeConstraint;
        left?: number;
        margin: EdgeInsets;
        maxHeight?: number;
        maxWidth?: number;
        minHeight?: number;
        minWidth?: number;
        order?: number;
        padding: EdgeInsets;
        position?: PositionMode;
        right?: number;
        top?: number;
        width: SizeConstraint;
        zIndex?: number;
    }
    Index

    Properties

    border?: EdgeInsets

    Border spacing (visual border implemented separately)

    bottom?: number

    Absolute positioning offset from bottom

    display?: DisplayMode

    Display mode. 'none' hides the component from layout.

    flex?: FlexProps

    Flex layout properties

    Height constraint

    left?: number

    Absolute positioning offset from left

    margin: EdgeInsets

    Outer spacing

    maxHeight?: number

    Maximum height

    maxWidth?: number

    Maximum width

    minHeight?: number

    Minimum height

    minWidth?: number

    Minimum width

    order?: number

    Visual order (lower values rendered first). Default: 0

    padding: EdgeInsets

    Inner spacing

    position?: PositionMode

    Positioning mode. 'absolute' removes from flex flow.

    right?: number

    Absolute positioning offset from right

    top?: number

    Absolute positioning offset from top

    Width constraint

    zIndex?: number

    Z-index for layering. Default: 0