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

    Interface UIScrollContainerProps

    Props for configuring a UIScrollContainer

    interface UIScrollContainerProps {
        backgroundColor?: number;
        borderRadius?: number;
        fontConfig?: UIFontConfig;
        height: number;
        padding?: EdgeInsets;
        scrollbarAutoHide?: boolean;
        scrollbarThumbColor?: number;
        scrollbarThumbHoverColor?: number;
        scrollbarTrackColor?: number;
        scrollbarWidth?: number;
        scrollEasing?: number;
        scrollPaddingBottom?: number;
        scrollSpeed?: number;
        smoothScroll?: boolean;
        width: number;
    }
    Index

    Properties

    backgroundColor?: number

    Background color of the container

    borderRadius?: number

    Border radius

    fontConfig?: UIFontConfig

    Font configuration that children will inherit (like CSS). Allows setting fontFamily, fontSize, etc. once at container level.

    height: number

    Height of the scroll container (viewport height)

    padding?: EdgeInsets

    Padding inside the scroll container

    scrollbarAutoHide?: boolean

    Whether to show scrollbar only on hover

    scrollbarThumbColor?: number

    Scrollbar thumb color

    scrollbarThumbHoverColor?: number

    Scrollbar thumb hover color

    scrollbarTrackColor?: number

    Scrollbar track color

    scrollbarWidth?: number

    Scrollbar width

    scrollEasing?: number

    Easing factor for smooth scroll (0.1 = slow, 0.3 = snappy, default: 0.15)

    scrollPaddingBottom?: number

    Extra height added to scrollable content area. Allows content to scroll beyond its natural bounds. Useful for chat interfaces where the last item should scroll to the top. (default: 0)

    scrollSpeed?: number

    Scroll speed multiplier for wheel events (default: 1)

    smoothScroll?: boolean

    Enable smooth/eased scrolling (default: true)

    width: number

    Width of the scroll container