EN
Данное содержимое не доступно на вашем языке, используйте версию на английском языке.

draggable attribute | draggable property

Sets or gets whether an element can be dragged on a document.

This property is read/write.

Internet Explorer 10

 

Syntax

HTML
<element draggable="bDraggable" ... >

 

JavaScript
object.draggable = bDraggable
bDraggable = object.draggable

 

Property values

Type: boolean

True when attribute is present, false when missing.

Remarks

Prior to the current version of the client, only links and images were draggable on a web document. This attribute allows any element to be draggable.

Note  For code samples, see Form controls part 1 and Form controls part 2: validation on the Windows Internet Explorer sample site.

See also

HTMLElement

 

 

Показ:
© 2014 Microsoft