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

Method withPlaceholderTemplate

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

* Registers the template that should be used for the drag placeholder. * @param template Template that from which to stamp out the placeholder.

(template: DragHelperTemplate | null)

Source from the content-addressed store, hash-verified

483 * @param template Template that from which to stamp out the placeholder.
484 */
485 withPlaceholderTemplate(template: DragHelperTemplate | null): this {
486 this._placeholderTemplate = template;
487 return this;
488 }
489
490 /**
491 * Sets an alternate drag root element. The root element is the element that will be moved as

Callers 1

_syncInputsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected