Export (0) Print
Expand All

sl--snap Attribute | slSnap Property

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

Specifies whether the slider is automatically positioned over the nearest tick mark when the mouse button is released.

Syntax

CSS { sl--snap : bSnap }
Scripting [ bSnap = ] slider.style.slSnap

Possible Values

bSnap Boolean that specifies or receives one of the following values.
0
Specifies that the slider can remain between tick marks.
1
Default. Specifies that the slider snaps to the nearest tick mark.

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

Remarks

The sl--snap attribute is available only to objects participating in the slider behavior.

Applies To

slider

Community Additions

ADD
Show:
© 2014 Microsoft