Skip to content

Commit

Permalink
docs: improve the JSDoc of NavigationConfiguration.enabled (#2847)
Browse files Browse the repository at this point in the history
Specify that it has no effect on the navigation API.
  • Loading branch information
tbouffard authored Sep 6, 2023
1 parent 7fd84f0 commit 42f13ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/component/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ export interface GlobalOptions {
export interface NavigationConfiguration {
/**
* Enable the navigation with the mouse wheel or with gesture/pinch on touch devices.
*
* **IMPORTANT**: the navigation API is not affected by this value. Navigation actions performed with the API always have an effect.
* @default false
*/
enabled: boolean;
Expand Down

0 comments on commit 42f13ee

Please sign in to comment.