ariaActiveDescendant property

String get ariaActiveDescendant

Implementation

String get ariaActiveDescendant {
  if (!visible) return '';

  if (_ariaActiveDescendant != null) return _ariaActiveDescendant!;

  if (options != null) {
    return activeModel.activeId ?? '';
  }

  return '';
}
  1. @Input.new()
set ariaActiveDescendant (String id)

The id of the active element of the dropdown.

Implementation

@Input()
set ariaActiveDescendant(String id) {
  _ariaActiveDescendant = id;
}