fix(types): use @see tag for flatpickr options link

This commit is contained in:
Eric Liu 2022-05-14 12:39:53 -07:00
commit 22ea5654bf
4 changed files with 6 additions and 6 deletions

View file

@ -1050,7 +1050,7 @@ None.
| short | <code>let</code> | No | <code>boolean</code> | <code>false</code> | Set to `true` to use the short variant |
| light | <code>let</code> | No | <code>boolean</code> | <code>false</code> | Set to `true` to enable the light variant |
| id | <code>let</code> | No | <code>string</code> | <code>"ccs-" + Math.random().toString(36)</code> | Set an id for the date picker element |
| flatpickrProps | <code>let</code> | No | <code>import("flatpickr/dist/types/options").Options</code> | <code>{}</code> | Override the options passed to the Flatpickr instance<br />https://flatpickr.js.org/options |
| flatpickrProps | <code>let</code> | No | <code>import("flatpickr/dist/types/options").Options</code> | <code>{}</code> | Override the options passed to the Flatpickr instance.<br />@see https://flatpickr.js.org/options |
### Slots

View file

@ -2751,7 +2751,7 @@
{
"name": "flatpickrProps",
"kind": "let",
"description": "Override the options passed to the Flatpickr instance\nhttps://flatpickr.js.org/options",
"description": "Override the options passed to the Flatpickr instance.\n@see https://flatpickr.js.org/options",
"type": "import(\"flatpickr/dist/types/options\").Options",
"value": "{}",
"isFunction": false,

View file

@ -60,8 +60,8 @@
export let id = "ccs-" + Math.random().toString(36);
/**
* Override the options passed to the Flatpickr instance
* https://flatpickr.js.org/options
* Override the options passed to the Flatpickr instance.
* @see https://flatpickr.js.org/options
* @type {import("flatpickr/dist/types/options").Options}
*/
export let flatpickrProps = {};

View file

@ -74,8 +74,8 @@ export interface DatePickerProps
id?: string;
/**
* Override the options passed to the Flatpickr instance
* https://flatpickr.js.org/options
* Override the options passed to the Flatpickr instance.
* @see https://flatpickr.js.org/options
* @default {}
*/
flatpickrProps?: import("flatpickr/dist/types/options").Options;