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

Method withDirection

src/cdk/drag-drop/drag-ref.ts:656–659  ·  view source on GitHub ↗

Sets the layout direction of the draggable item.

(direction: Direction)

Source from the content-addressed store, hash-verified

654
655 /** Sets the layout direction of the draggable item. */
656 withDirection(direction: Direction): this {
657 this._direction = direction;
658 return this;
659 }
660
661 /** Sets the container that the item is part of. */
662 _withDropContainer(container: DropListRef) {

Callers 2

_syncInputsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected