mv--grid Attribute | mvGrid Property

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

Sets or retrieves the composite values (mv--grid-rows, mv--grid-cols) of the horizontal and vertical grid the element snaps to when the SNAPABLE attribute is enabled for the movable behavior.

Syntax

CSS { mv--grid : sGrid }
Scripting [ sGrid = ] movable.style.mvGrid

Possible Values

sGrid String that specifies or receives the following space-delimited values:
iGridRows
Integer that specifies the horizontal increment of pixels an element snaps to when the SNAPABLE attribute is enabled.
iGridCols
Integer that specifies the vertical increment of pixels an element snaps to when the SNAPABLE attribute is enabled.

The property is read/write. The property has a default value of 25 25. The Cascading Style Sheets (CSS) attribute is not inherited.

Remarks

The mv--grid attribute is available only to objects participating in the movable behavior, and only when the SNAPABLE attribute is set to 1 .

Applies To

movable

See Also

mvGridCols, mvGridRows