19.0.4 • Published 6 months ago

nxt-pick-datetime v19.0.4

Weekly downloads
32
License
MIT
Repository
github
Last release
6 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>
19.0.0

7 months ago

19.0.4

6 months ago

18.0.0

1 year ago

17.0.1

2 years ago

17.0.0

2 years ago

16.2.0

2 years ago

16.1.0

2 years ago

16.0.0-alpha.8

2 years ago

16.0.0

2 years ago

16.0.0-alpha.0

2 years ago

16.0.0-alpha.1

2 years ago

15.0.0

2 years ago

14.0.0

2 years ago

16.0.0-alpha.6

2 years ago

13.0.0

4 years ago

13.0.1

4 years ago

12.0.0

4 years ago

12.0.1

4 years ago

11.0.0

5 years ago

10.0.0

5 years ago

9.1.0

5 years ago

9.0.1

5 years ago

9.0.0-rc2

5 years ago

9.0.0

5 years ago

9.0.0-rc1

5 years ago

8.0.0-rc2

5 years ago

8.0.0-rc1

5 years ago