mwg API
    Preparing search index...

    Interface DropdownViewOptions

    interface DropdownViewOptions {
        autoWidth?: boolean;
        disabled?: boolean;
        maxVisibleRows?: number;
        maxWidth?: number;
        options: readonly DropdownOption[];
        rowHeight?: number;
        selectedIndex?: number;
        width: number;
    }

    Hierarchy (View Summary)

    Index
    autoWidth?: boolean

    widens the view to fit the longest label instead of cutting it off at width

    disabled?: boolean
    maxVisibleRows?: number

    rows shown at once; a longer list scrolls inside the box. 8 when omitted

    maxWidth?: number

    caps how wide autoWidth (and a later resize) may grow the view

    options: readonly DropdownOption[]
    rowHeight?: number

    the height of the closed button and of each row of the open list; 28 when omitted

    selectedIndex?: number

    the entry selected from the start; the first enabled one when omitted

    width: number

    the closed button's width, and the list's; the least width when autoWidth is on