Skip to content

Commit

Permalink
fix docs of CadenzaSelectObjectsOkEvent
Browse files Browse the repository at this point in the history
  • Loading branch information
jkissel committed Oct 29, 2024
1 parent de07a67 commit 3d2080c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cadenza.js
Original file line number Diff line number Diff line change
Expand Up @@ -1401,7 +1401,7 @@ function array(/** @type unknown */ value) {
* The extent is transformed according to the `useMapSrs` option.
*/
/**
* @typedef {CadenzaEvent<'change:selection', undefined | {layer: WorkbookLayerPath, values: unknown[][]}>} CadenzaChangeSelectionEvent - When the user changed the selection.
* @typedef {CadenzaEvent<'change:selection', undefined | {layer: WorkbookLayerPath, values: unknown[][]}>} CadenzaChangeSelectionEvent - When the user changed the selection. `undefined` if no objects were selected.
*
* For a selection in a workbook map view with activated feature info, the values also include the simplified geometries of the selected objects.
*/
Expand All @@ -1420,7 +1420,7 @@ function array(/** @type unknown */ value) {
/** @typedef {CadenzaEvent<'error', {type: string, message?: string}>} CadenzaErrorEvent - An error event that is mapped to a {@link CadenzaError} */
/** @typedef {CadenzaEvent<'objectInfo', {layer: WorkbookLayerPath, objectInfos: {selectionIndex: number, elements: {attributePrintName: string, formattedValue: string}[]}}>} CadenzaObjectInfoEvent - When the user opened the object info flyout. */
/**
* @typedef {CadenzaEvent<'selectObjects:ok', {layer: WorkbookLayerPath, values: unknown[][]}>} CadenzaSelectObjectsOkEvent - When the user submitted the selection.
* @typedef {CadenzaEvent<'selectObjects:ok', undefined | {layer: WorkbookLayerPath, values: unknown[][]}>} CadenzaSelectObjectsOkEvent - When the user submitted the selection. `undefined` if no objects were selected.
*
* For a selection in a workbook map view with activated feature info, the values also include the simplified geometries of the selected objects.
*/
Expand Down

0 comments on commit 3d2080c

Please sign in to comment.