listAutoFocus property

  1. @Input()
set listAutoFocus (bool value)

Whether to auto-focus the list as soon as it appears.

Must be enabled before the component is initialized. If an item is initially selected, that item will be focused, otherwise the first item is focused. Only supported when selectable options are provided in options.

Implementation

@Input()
set listAutoFocus(bool value) {
  _listAutoFocus = value;
}