role property
The ARIA role to use for the host element.
Implementation
@HostBinding('attr.role')
String get role {
if (supportsHierarchy) {
return "tree";
} else if (showFlatCheck || showFlatRadio) {
return "listbox";
} else {
return "list";
}
}