Remove undefined type when the property is optional
This commit is contained in:
@@ -11,16 +11,16 @@ import {easeOut} from '../easing.js';
|
||||
|
||||
/**
|
||||
* @typedef {Object} Options
|
||||
* @property {number|undefined} [duration=250] Animation duration in milliseconds.
|
||||
* @property {string|undefined} [className='ol-zoom'] CSS class name.
|
||||
* @property {string|Element|undefined} [zoomInLabel='+'] Text label to use for the zoom-in
|
||||
* @property {number} [duration=250] Animation duration in milliseconds.
|
||||
* @property {string} [className='ol-zoom'] CSS class name.
|
||||
* @property {string|Element} [zoomInLabel='+'] Text label to use for the zoom-in
|
||||
* button. Instead of text, also an element (e.g. a `span` element) can be used.
|
||||
* @property {string|Element|undefined} [zoomOutLabel='-'] Text label to use for the zoom-out button.
|
||||
* @property {string|Element} [zoomOutLabel='-'] Text label to use for the zoom-out button.
|
||||
* Instead of text, also an element (e.g. a `span` element) can be used.
|
||||
* @property {string|undefined} [zoomInTipLabel='Zoom in'] Text label to use for the button tip.
|
||||
* @property {string|undefined} [zoomOutTipLabel='Zoom out'] Text label to use for the button tip.
|
||||
* @property {number|undefined} [delta=1] The zoom delta applied on each click.
|
||||
* @property {Element|string|undefined} [target] Specify a target if you want the control to be
|
||||
* @property {string} [zoomInTipLabel='Zoom in'] Text label to use for the button tip.
|
||||
* @property {string} [zoomOutTipLabel='Zoom out'] Text label to use for the button tip.
|
||||
* @property {number} [delta=1] The zoom delta applied on each click.
|
||||
* @property {Element|string} [target] Specify a target if you want the control to be
|
||||
* rendered outside of the map's viewport.
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user