sort property

  1. @override
  2. @Accessor(key: 'aria-sort')
dynamic sort

Indicates if items in a table or grid are sorted in ascending or descending order.

Authors SHOULD only apply this property to table headers or grid headers. If the property is not provided, there is no defined sort order. For each table or grid, authors SHOULD apply aria-sort to only one header at a time.

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

Implementation

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

Indicates if items in a table or grid are sorted in ascending or descending order.

Authors SHOULD only apply this property to table headers or grid headers. If the property is not provided, there is no defined sort order. For each table or grid, authors SHOULD apply aria-sort to only one header at a time.

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

Implementation

@override
@Accessor(key: 'aria-sort')
set sort(dynamic value) => props[_$key__sort___$AriaPropsMixin] = value;