blu3r4y / air-datepicker-types

TypeScript definitions for air-datepicker

Home Page:https://www.npmjs.com/package/@blu3r4y/air-datepicker-types

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TypeScript definitions for air-datepicker

npm Version GitHub Workflow Status

# the npm way
npm install -D @blu3r4y/air-datepicker-types

# the yarn way
yarn add -D @blu3r4y/air-datepicker-types

Usage

Explicitly import the types from this package.

import "air-datepicker";
import { AirDatepickerInstance } from "@blu3r4y/air-datepicker-types";

If you want to import everything directly from air-datepicker, you could alias the package under @types/air-datepicker instead. However, I would not recommend it because the versions aren't tracked properly anymore then.

# install with alias
npm install -D @types/air-datepicker@npm:@blu3r4y/air-datepicker-types

Exported Types

  • AirDatepickerStatic
  • AirDatepickerInstance
  • AirDatepickerLanguageInstance
  • AirDatepickerEventObject
  • AirDatepickerOptions

As well as bindings to jquery

  • JQuery.datepicker
  • JQuery.data("datepicker")

About

TypeScript definitions for air-datepicker

https://www.npmjs.com/package/@blu3r4y/air-datepicker-types

License:MIT License