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

Method orientation

src/cdk/listbox/listbox.ts:334–336  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

332 /** The orientation of the listbox. Only affects keyboard interaction, not visual layout. */
333 @Input('cdkListboxOrientation')
334 get orientation() {
335 return this._orientation;
336 }
337 set orientation(value: 'horizontal' | 'vertical') {
338 this._orientation = value === 'horizontal' ? 'horizontal' : 'vertical';
339 if (value === 'horizontal') {

Callers

nothing calls this directly

Calls 2

Tested by

no test coverage detected