Skip to content

Commit

Permalink
Add documentation for the selector options
Browse files Browse the repository at this point in the history
  • Loading branch information
pmatsson committed Oct 10, 2024
1 parent a41f026 commit 2455f8e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/js/Aladin.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,10 @@ import { Polyline } from "./shapes/Polyline";
* @property {boolean} [realFullscreen=false] - Whether to use real fullscreen mode.
* @property {boolean} [pixelateCanvas=true] - Whether to pixelate the canvas.
* @property {boolean} [manualSelection=false] - When set to true, no selection will be performed, only events will be generated.
* @property {Object} [selector] - More options for the the selector.
* @property {string} [selector.color] - Color of the selector, defaults to the color of the reticle. Can be a hex color or a function returning a hex color.
* @property {number} [selector.lineWidth=2] - Width of the selector line.
*
* @example
* let aladin = A.aladin({
target: 'galactic center',
Expand Down

0 comments on commit 2455f8e

Please sign in to comment.