Class: AoflMultiselectList

@aofl/select~ AoflMultiselectList

Similar to select multi

new AoflMultiselectList()

Source:

Extends

  • AoflElement

Members


<static, readonly> is :String

Type:
  • String
Source:

<static, readonly> properties :Object

Type:
  • Object
Source:

Methods


addOption(option)

Add an option to be selected
Parameters:
Name Type Description
option String
Source:

clearSelected()

Remove all items from selected array and remove selected attributes from all list options
Source:

connectedCallback()

Source:

disconnectedCallback()

Source:

keydownCallback(e)

Handle the tab and arrow focus logic within the list
Parameters:
Name Type Description
e Event
Source:

mouseoverCallback(e)

Focus list options that are hovered over
Parameters:
Name Type Description
e Event
Source:

render()

Source:
Returns:
Type
Object

updateSelected(dispatch)

Toggle selected on list element and dispatch custom change event
Parameters:
Name Type Default Description
dispatch Boolean true
Source:
Fires:
  • AoflMultiselectList.event:change