17.0.1 • Published 5 months ago

nxt-pick-datetime v17.0.1

Weekly downloads
32
License
MIT
Repository
github
Last release
5 months ago

Angular date & time picker

GitHub license npm scope

Simple responsive Angular date and time picker.

Quick links

Installing

npm install --save nxt-pick-datetime
npm install --save moment   # if you want to use MomentDateTimeModule

Import main module and DateTime adapter provider

The date & time picker was built to be date implementation agnostic. It comes with two modules providing date adapter implementation, or you can provide your own adapter by implementing DateTimeAdapter (see documentation).

  • NativeDateTimeModule - support for native JavaScript Date object
  • MomentDateTimeModule - support for MomentJs
import { DateTimeModule } from 'nxt-pick-datetime'
import { NativeDateTimeModule } from 'nxt-pick-datetime/native-adapter'

@NgModule({
    ...
    imports: [
        ...
        DateTimeModule,
        NativeDateTimeModule
    ]
})

Use it in a template

<input [nxtDateTime]="picker"
    [nxtDateTimeTrigger]="picker"
    placeholder="Date and time">
<nxt-date-time #picker></nxt-date-time>
17.0.1

5 months ago

17.0.0

6 months ago

16.2.0

9 months ago

16.1.0

11 months ago

16.0.0-alpha.8

1 year ago

16.0.0

1 year ago

16.0.0-alpha.0

1 year ago

16.0.0-alpha.1

1 year ago

15.0.0

1 year ago

14.0.0

1 year ago

16.0.0-alpha.6

1 year ago

13.0.0

2 years ago

13.0.1

2 years ago

12.0.0

3 years ago

12.0.1

3 years ago

11.0.0

3 years ago

10.0.0

4 years ago

9.1.0

4 years ago

9.0.1

4 years ago

9.0.0-rc2

4 years ago

9.0.0

4 years ago

9.0.0-rc1

4 years ago

8.0.0-rc2

4 years ago

8.0.0-rc1

4 years ago