From 6c6f9a3ef599081dcae7f9d4c64e0e5693192b5f Mon Sep 17 00:00:00 2001 From: ahocevar Date: Fri, 27 Sep 2013 12:11:41 +0200 Subject: [PATCH] Doc improvements Thanks @tschaub for suggesting these. --- src/objectliterals.jsdoc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/objectliterals.jsdoc b/src/objectliterals.jsdoc index 840cbb3584..5364c0fa17 100644 --- a/src/objectliterals.jsdoc +++ b/src/objectliterals.jsdoc @@ -313,10 +313,12 @@ * @typedef {Object} ol.interaction.SelectOptions * @property {ol.interaction.ConditionType|undefined} addCondition A conditional * modifier (e.g. shift key) that determines if the selection is added to - * the current selection. Default is when holding the shift key only. + * the current selection. By default, a shift-click adds to the current + * selection. * @property {ol.interaction.ConditionType|undefined} condition A conditional * modifier (e.g. shift key) that determines if the interaction is active - * (i.e. selection occurs) or not. Default is on mouse click only. + * (i.e. selection occurs) or not. By default, a click with no modifier keys + * toggles the selection. * @property {undefined|function(ol.layer.Layer):boolean} layerFilter Filter * function to restrict selection to a subset of layers. */