@easepick/amp-plugin
TypeScript icon, indicating that this package has built-in type declarations

1.2.1 • Public • Published

@easepick/amp-plugin

npm version

This package does not need to be installed if you are using @easepick/bundle.

Adds extra options.

Documentation

https://easepick.com/packages/amp-plugin

Options:

Name Type Default Description
dropdown object { minYear: 1950, maxYear: null, months: false, years: false } Enable dropdowns for months, years. If maxYear is null then maxYear will be equal to (new Date()).getFullYear().
years can be equal to asc string to change the sort direction.
resetButton boolean
function
false Adds a reset button to clear the current selection. It is allowed to pass a custom function that must return true to clear the selection.
darkMode boolean true Allows dark mode to be used if the user's system settings are set to dark mode.
weekNumbers boolean false Show week numbers.
locale object { resetButton: '' } Texts for Amp plugin options.

Dependents (5)

Package Sidebar

Install

npm i @easepick/amp-plugin

Homepage

easepick.com

Weekly Downloads

13,674

Version

1.2.1

License

GPL-2.0-or-later

Unpacked Size

16.8 kB

Total Files

8

Last publish

Collaborators

  • waki