@agape/ng-mat-datetime-control
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

@agape/ng-mat-datetime-control

Datetime input field for Angular Material

Synopsis

import { AgMatDatetimeControlModule } from '@agape/ng-mat-datetime-control'


@NgModule({
    imports: [
        AgMatDatetimeControlModule
    ]
})
<ag-mat-datetime-control
    dateLabel="Date"
    timelabel="Time"
    [required]="false"
    [(ngModel)]="modelValue"
>
</ag-mat-datetime-control>

Description

Accepts a javascript Date as a model value and renders separate form controls for the date and time components of a datetime.

Author

Maverik Minett maverik.minett@gmail.com

Copyright

© 2023 Maverik Minett

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i @agape/ng-mat-datetime-control

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

68.3 kB

Total Files

13

Last publish

Collaborators

  • maverik.minett