Skip to content

Commit

Permalink
Merge pull request #77 from petrsiegl/fix-doc-changeDate
Browse files Browse the repository at this point in the history
fix(docs): event property names
  • Loading branch information
mymth committed Aug 22, 2021
2 parents 24c348e + 4413c19 commit 4843b2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/api.md
Expand Up @@ -182,11 +182,11 @@ datepicker.update( [ options ] )
### Events

All Datepicker-event objects are `CustomEvent` instances and dispatched to the associated `<input>` element (for inline picker, the block element).
They include the following extra data in the `details` property.
They include the following extra data in the `detail` property.

- `date`: {`Date`} - Selected date(s) (see [getDate()](api?id=datepickergetdate))
- `viewDate`: {`Date`} - Focused date
- `viewMode`: {`Number`} - ID of the current view
- `viewId`: {`Number`} - ID of the current view
- `datepicker`: {`Datepicker`} - Datepicker instance

#### changeDate
Expand Down

0 comments on commit 4843b2f

Please sign in to comment.