File

src/dnd.directive.ts

Description

Allows you to connect a DragSource to an element in a component template.

Metadata

Selector [dragSource]

Index

Inputs

Inputs

dragSource
Type : DragSource<any>

Which source to connect the DOM to

dragSourceOptions
Type : DragSourceOptions

Pass an options object as you would to DragSource.

dragSourceType
Type : string | symbol

Shortcut for setting a type on the connection. Lets you use Angular binding to do it. Runs DragSource.

noHTML5Preview
Default value : false

Do not render an HTML5 preview. Only applies when using the HTML5 backend. It does not use { captureDraggingState: true } for IE11 support; that is broken.

result-matching ""

    No results matching ""