msContentZoomSnap property
Specifies values for the IHTMLCSSStyleDeclaration2::msContentZoomSnapType and the IHTMLCSSStyleDeclaration2::msContentZoomSnapPoints properties.
This property is read/write.
![]() |
Syntax
HRESULT put_msContentZoomSnap( [in] DOMString val ); HRESULT get_msContentZoomSnap( [out] DOMString **ptr );
Property values
Type: DOMString
String format
-ms-content-zoom-snap-type || -ms-content-zoom-snap-points
CSS information
| Applies To | non-replaced block-level elements and non-replaced inline-block elements |
|---|---|
| Media | interactive |
| Inherited | no |
| Initial Value | (see individual properties) |
Remarks
This property has no effect on non-zoomable elements. See IHTMLCSSStyleDeclaration2::msContentZooming for details on zoomable elements.
Starting with Windows 8.1, this property is also supported for touchpad interaction.
This property requires Windows 8 or later.
Requirements
|
IDL |
|
|---|
See also
- Windows apps using JavaScript Samples: HTML scrolling, panning and zooming sample
- msContentZoomFactor
- msZoomTo
- Internet Explorer Samples: Scrolling, panning, and zooming with touch input
- msContentZoomFactor
- msZoomTo
Show:
