Skip to content

Commit 655c898

Browse files
authored
Document that dblclick is preceded by click events (#2593)
* Document that dblclick is preceded by click events * Adjust dblclick wording
1 parent 7938cc3 commit 655c898

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/ui/events.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -564,6 +564,8 @@ export type MapEvent =
564564
* If `layerId` is included as the second argument in {@link Map#on}, the event listener will fire only
565565
* when the point that is clicked twice contains a visible portion of the specified layer.
566566
*
567+
* **Note:** Under normal conditions, this event will be preceded by two {@link Map.event:click} events.
568+
*
567569
* @event dblclick
568570
* @memberof Map
569571
* @instance

0 commit comments

Comments
 (0)