SNAPABLE Attribute | snapable Property

This topic documents a feature of Binary Behaviors, which are obsolete as of Internet Explorer 10.

Specifies whether the element snaps to a grid when the ondragend event fires for the movable behavior.

Syntax

XML <ELEMENT SNAPABLE = bSnapable... >
Scripting [ bSnapable = ] movable.snapable

Possible Values

bSnapable Boolean that specifies or receives one of the following values.
0
Default. Integer that specifies the element does not snap to the grid defined by the mv--grid attribute.
1
Integer that specifies the element snaps to the grid defined by the mv--grid attribute.

The property is read/write. The property has a default value of 0.

Remarks

The snapable property is available only to objects participating in the movable behavior.

Applies To

movable
Show: