Module type for Control

This commit is contained in:
Tim Schaub
2018-03-18 09:53:35 -06:00
parent 414792f707
commit 2e0fd1c12d
10 changed files with 10 additions and 10 deletions

View File

@@ -33,7 +33,7 @@ import {listen, unlistenByKey} from '../events.js';
* This is the base class for controls. You can use it for simple custom
* controls by creating the element with listeners, creating an instance:
* ```js
* var myControl = new ol.control.Control({element: myElement});
* var myControl = new module:ol/control/Control~Control({element: myElement});
* ```
* and then adding this to the map.
*