Perseus
    Preparing search index...

    Type Alias PerseusDropdownWidgetOptions

    Options for the dropdown widget. A list of choices in a dropdown.

    type PerseusDropdownWidgetOptions = {
        ariaLabel?: string;
        choices: PerseusDropdownChoice[];
        placeholder: string;
        static: boolean;
        visibleLabel?: string;
    }
    Index

    Properties

    ariaLabel?: string

    Translatable Text; aria label that screen readers will read

    A list of choices for the dropdown

    placeholder: string

    Translatable Text; placeholder text for a dropdown. e.g. "Please select a fruit"

    static: boolean

    Always false. Not used for this widget

    visibleLabel?: string

    Translatable Text; visible label for the dropdown