snapToGrid Method

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

Snaps the element to the grid as defined by the mv--grid attribute for the movable behavior.

Syntax

movable.snapToGrid()

Return Value

No return value.

Remarks

To use the snapToGrid method, the SNAPABLE attribute must be set to 1.

The snapToGrid method is available only to objects participating in the movable behavior.

Applies To

movable