draggable function

Attribute<GlobalHTMLAttribute> draggable(
  1. String value
)

An enumerated attribute indicating whether the element can be dragged, using the Drag and Drop API. It can have the following values:

  • true, which indicates that the element may be dragged
  • false, which indicates that the element may not be dragged.

Implementation

Attribute<GlobalHTMLAttribute> draggable(String value) {
  return Attribute('draggable', value);
}