Skip to content

Commit 473a09d

Browse files
committed
Update docs
1 parent 6a03dfb commit 473a09d

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

specs/IsPinchZoomEnabled.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ In this document we describe the new setting. We'd appreciate your feedback.
1212

1313

1414
# Description
15-
The default value for `IsPinchZoomEnabled` is true.
16-
When this setting is set to false, it disables pinch zooming in WebView.
15+
The default value for `IsPinchZoomEnabled` is `true`.
16+
When this setting is set to `false`, it disables the ability of the end users to use pinching motions on touch input enabled devices to scale the web content in the WebView2 and users cannot pinch zoom.
1717

1818

1919
# Examples
@@ -41,7 +41,7 @@ void TogglePinchZoomEnabled()
4141
```
4242

4343
# Remarks
44-
When `IsPinchZoomEnabled` is set to false, pinch zooming user action is disabled in WebView. This however doesn't modify the underlying page scale factor of page scale zoom.
44+
When `IsPinchZoomEnabled` is set to `false`, pinch zooming is disabled in WebView. This however doesn't modify the underlying page scale factor of page scale zoom.
4545

4646
# API Notes
4747

@@ -53,9 +53,10 @@ See [API Details](#api-details) section below for API reference.
5353
```cpp
5454
[uuid(B625A89E-368F-43F5-BCBA-39AA6234CCF8), object, pointer_default(unique)]
5555
interface ICoreWebView2StagingSettings : IUnknown {
56-
/// The IsPinchZoomEnabled property is used to prevent the default
57-
/// pinch zoom control from working in webview. Defaults to TRUE.
58-
/// When disabled, user will not be able to pinch zoom.
56+
/// The IsPinchZoomEnabled property enables or disables the ability of
57+
/// the end user to use a pinching motion on touch input enabled devices
58+
/// to scale the web content in the WebView2. It defaults to TRUE.
59+
/// When set to FALSE, the end user cannot pinch zoom.
5960
///
6061
/// \snippet SettingsComponent.cpp DisablePinchZoom
6162
[propget] HRESULT IsPinchZoomEnabled([out, retval] BOOL* enabled);

0 commit comments

Comments
 (0)