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 moveable behavior.
Syntax
XML <Prefix:CustomTag ID = sID STYLE="behavior:url('moveable.htc'); mv--grid: 'mv--grid-rows mv--grid-cols'" .../> Scripting [ 'mv--grid-rows mv--grid-cols' = ] oMoveable.style.mvGrid
Possible Values
Prefix Prefix used to associate CustomTag with a namespace. This prefix is set using the XMLNS attribute of the HTML tag. CustomTag User-defined tag. sID String that uniquely identifies the object. mv--grid-rows Integer specifying the horizontal increment of pixels an element snaps to when the SNAPABLE attribute is enabled. mv--grid-cols Integer specifying the vertical increment of pixels an element snaps to when the SNAPABLE attribute is enabled. The property is read/write with a default value of 25 25.
Remarks
The mv--grid attribute is available only to objects participating in the moveable behavior, and only when the SNAPABLE attribute is set to 1.
Applies To
moveable