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

Method enableHandle

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

* Enables a handle, if it has been disabled. * @param handle Handle element to be enabled.

(handle: HTMLElement)

Source from the content-addressed store, hash-verified

646 * @param handle Handle element to be enabled.
647 */
648 enableHandle(handle: HTMLElement) {
649 if (this._disabledHandles.has(handle)) {
650 this._disabledHandles.delete(handle);
651 toggleNativeDragInteractions(handle, this.disabled);
652 }
653 }
654
655 /** Sets the layout direction of the draggable item. */
656 withDirection(direction: Direction): this {

Callers 1

_setupHandlesListenerMethod · 0.80

Calls 2

deleteMethod · 0.65

Tested by

no test coverage detected