A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/dom/HTMLElement/draggable below:

draggable ยท WebPlatform Docs

draggable Summary

Gets or sets whether an element can be dragged and dropped.

Property of dom/HTMLElementdom/HTMLElement

Syntax
var draggable = element.draggable;
element.draggable = draggable;
Return Value

Returns an object of type BooleanBoolean

Whether the element is draggable.

Usage
 Use this property to allow or disallow an element to be dragged and dropped.
Notes

The default value for most elements is false. a and img elements are draggable by default.

Related specifications
WHATWG HTML
Living Standard
HTML5
Working Draft

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4