# example-library-datepicker

> Datepicker Component

Latest version **0.0.9** (published 2017-03-31) · MIT license · 0 weekly downloads

## Install

```sh
npm install example-library-datepicker
pnpm add example-library-datepicker
yarn add example-library-datepicker
bun add example-library-datepicker
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.9 |
| Published | 2017-03-31 |
| First published | 2017-03-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 27 |
| Author | Chris Brown |
| Maintainers | icklechris |
| Keywords | angular, angular2, angular 2, datepicker, datepicker popup |

## Links

- npm: https://www.npmjs.com/package/example-library-datepicker
- Repository: https://github.com/icklechris/ic-datepicker
- Issues: https://github.com/icklechris/ic-datepicker/issues
- npm.io page: https://npm.io/package/example-library-datepicker

## Dependencies (1)

- [moment](https://npm.io/package/moment.md) ^2.17.1

## Alternatives

- [react-native-root-siblings](https://npm.io/package/react-native-root-siblings.md) — 102.9K weekly downloads
- [@praxisui/dialog](https://npm.io/package/@praxisui/dialog.md) — 2.0K weekly downloads
- [easy-toggle-state](https://npm.io/package/easy-toggle-state.md) — 350 weekly downloads
- [ngx-lightbox-evp](https://npm.io/package/ngx-lightbox-evp.md) — 19 weekly downloads
- [react-native-modal-translucent-axton](https://npm.io/package/react-native-modal-translucent-axton.md) — 4 weekly downloads

## Recent versions

- 0.0.9 (latest) — 2017-03-31

## README

# Ic Datepicker

[Docs & Example](https://icklechris.github.io/ic-datepicker)

**Warning:** This component is still in pre-release. Although the component should be stable, until v1 is released there is potential for API changes whilst things are finalised. To prevent issues, ensure your `package.json` file specifies a specific version (e.g. `"ic-datepicker": "0.0.5"`).

## Installation

Install the component via NPM;

```
npm install -S ic-datepicker
```

Import the `IcDatepickerModule` into your module;

```typescript
// app.module.ts

import { IcDatepickerModule } from 'ic-datepicker/dist';

@NgModule({
  imports: [
    IcDatepickerModule,
  ],
})
```

## Usage

Use the `<ic-datepicker/>` element, optionally providing an `IcDatepickerOptionsInterface` instance containing overriding options ([see defaults](https://icklechris.github.io/ic-datepicker/options)).

```typescript
import { IcDatepickerOptionsInterface } from 'ic-datepicker/dist';

@Component({
  selector: 'my-example-component',
  template: `
    <form [formGroup]="exampleForm">
      <ic-datepicker formControlName="datepicker" options="datepickerOptions"></ic-datepicker>
    </form>
  `,
  styles: ``
})
export class MyExampleComponent implements OnInit {
  this.datepickerOptions: IcDatepickerOptionsInterface;
  this.exampleForm: FormGroup;
  
  ngOnInit() {
    this.datepickerOptions = {
      position: 'top'
    };
  
    this.exampleForm = new FormGroup({
      datepicker: new FormControl()
    });
  }
}

```

---
_Source: https://npm.io/package/example-library-datepicker · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
