haspopup property

  1. @override
  2. @Accessor(key: 'aria-haspopup')
bool? haspopup

Indicates that the element has a popup context menu or sub-level menu.

This means that activation renders conditional content. Note that ordinary tooltips are not considered popups in this context.

A popup is generally presented visually as a group of items that appears to be on top of the main page content.

See: developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-haspopup

Implementation

@override
@Accessor(key: 'aria-haspopup')
bool? get haspopup =>
    (props[_$key__haspopup___$AriaPropsMixin] ?? null) as bool?;
  1. @override
  2. @Accessor(key: 'aria-haspopup')
void haspopup=(bool? value)

Indicates that the element has a popup context menu or sub-level menu.

This means that activation renders conditional content. Note that ordinary tooltips are not considered popups in this context.

A popup is generally presented visually as a group of items that appears to be on top of the main page content.

See: developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-haspopup

Implementation

@override
@Accessor(key: 'aria-haspopup')
set haspopup(bool? value) => props[_$key__haspopup___$AriaPropsMixin] = value;