You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/componentsguide/mapcontrols/zoom/index.md
+33-40
Original file line number
Diff line number
Diff line change
@@ -8,56 +8,49 @@ See [Demo page for all Map Controls](../index.md)
8
8
9
9
## Properties
10
10
11
-
### className
11
+
### Props from OpenLayers
12
12
13
-
-**Type**: `String`
14
-
-**Default**: `ol-zoom`
13
+
Properties are passed-trough from OpenLayers directly.
14
+
Their types and default values can be checked-out [in the official OpenLayers docs](https://openlayers.org/en/latest/apidoc/module-ol_source_ImageStatic-Static.html).
15
+
Only some properties deviate caused by reserved keywords from Vue / HTML.
16
+
This deviating props are described in the section below.
15
17
16
-
### duration
18
+
### Deviating Properties
17
19
18
-
-**Type**: `Number`
19
-
-**Default**: `250`
20
+
None.
20
21
21
-
### zoomInClassName
22
+
##Events
22
23
23
-
-**Type**: `String`
24
-
-**Default**: `ol-zoom-in`
24
+
You have access to all Events from the underlying source.
25
+
Check out [the official OpenLayers docs](https://openlayers.org/en/latest/apidoc/module-ol_source_ImageStatic-Static.html) to see the available events tht will be fired.
25
26
26
-
### zoomOutClassName
27
+
```html
28
+
<ol-zoom-control@error="handleEvent" />
29
+
```
27
30
28
-
-**Type**: `String`
29
-
-**Default**: `ol-zoom-out`
31
+
## Methods
30
32
31
-
### zoomInLabel
33
+
You have access to all Methods from the underlying source.
34
+
Check out [the official OpenLayers docs](https://openlayers.org/en/latest/apidoc/module-ol_source_ImageStatic-Static.html) to see the available methods.
32
35
33
-
-**Type**: `String`
34
-
-**Default**: `+`
36
+
To access the source, you can use a `ref()` as shown below:
0 commit comments