MCPcopy Create free account
hub / github.com/angular/components / _renderArrow

Method _renderArrow

src/material/sort/sort-header.ts:216–218  ·  view source on GitHub ↗

Whether the arrow inside the sort header should be rendered.

()

Source from the content-addressed store, hash-verified

214
215 /** Whether the arrow inside the sort header should be rendered. */
216 _renderArrow() {
217 return !this._isDisabled() || this._isSorted();
218 }
219
220 private _updateSortActionDescription(newDescription: string) {
221 // We use AriaDescriber for the sort button instead of setting an `aria-label` because some

Callers

nothing calls this directly

Calls 2

_isDisabledMethod · 0.95
_isSortedMethod · 0.95

Tested by

no test coverage detected