@nospamproxy/core
    Preparing search index...

    Base class for item based drop downs to extend from.

    Type Parameters

    • T

    Hierarchy (View Summary)

    Implements

    • ICustomElementViewModel
    Index

    Constructors

    Properties

    disabled: boolean = false

    Set if the dropdown is disabled.

    ea: IEventAggregator = ...
    i18n: I18N = ...
    items: DropdownItem<T>[] = []

    An array of available items.

    selectionSignal: string = ...

    A signal that can be used by extending classes when the selected items have changed.

    signaler: ISignaler = ...
    sort: boolean = true

    True to display items in alphabetical order.

    type: DropdownType = 'input'

    Set how the dropdown button looks.

    'input'
    
    width: string = ''

    Set a fixed width for the dropdown container.

    <dropdown-control items.bind="items" width="30rem"></dropdown-control>
    

    Accessors

    • get computedItems(): readonly ComputedItem[]

      An array of items as they are currently displayed.

      Returns readonly ComputedItem[]

    Methods

    • Parameters

      • _initiator: IHydratedController
      • _parent: IHydratedController | null

      Returns void

    • Returns void

    • Parameters

      • _initiator: IHydratedController
      • _parent: IHydratedController | null

      Returns void