Change keyboardEventTarget doc as requested by @probins

This commit is contained in:
Éric Lemoine
2014-02-04 15:52:40 +01:00
parent a91e6e2442
commit 0c99e0a2ff

View File

@@ -35,8 +35,9 @@
* This determines when the `KeyboardPan` and `KeyboardZoom` interactions trigger. For example, if
* this option is set to `document` the keyboard interactions will always trigger. If this option
* is not specified, the element the library listens to keyboard events on is the map target (i.e.
* the user-provided div for the map). In that case the target element needs to be focused for key
* events to be emitted, requiring that the target element has a `tabindex` attribute.
* the user-provided div for the map). If this is not `document` the target element needs to be
* focused for key events to be emitted, requiring that the target element has a `tabindex`
* attribute.
* @property {Array.<ol.layer.Base>|ol.Collection|undefined} layers Layers.
* @property {boolean|undefined} ol3Logo Show ol3 logo. Default is `true`.
* @property {ol.Collection|Array.<ol.Overlay>|undefined} overlays