Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ContentDragCustomAttribute

  • Globals
  • ContentDragCustomAttribute

Custom attribute that allows you to handle custom content or contentlist drag events on your HTML element. Usage example:

<div class="my-draggable-contentlist-element"
     content-drag.bind="[draggableContent1, draggableContent2]"></div>

The defined content array should contain Content items with a valid Stringify() method. This attribute will stop the event propagation for drag & drop events, so it can be nested.

Hierarchy

  • ContentDragCustomAttribute

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

content

content: IContent[]

Private element

element: Element

Methods

dragStart

  • dragStart(ev: DragEvent): true

Generated using TypeDoc