Forms - Timepicker | Crossroads Digital Design Kit
UI COMPONENTS
ATOMS
FORMS
UI Components / Forms
Timepicker
The <timepicker> element requires the inclusion of NG-2 Bootstrap - an external resource used to create Bootstrap-like elements in Angular 2 applications. Please refer to this documentation when customizing this component.
`
})
export class AppComponent implements OnInit {
public mytime: Date = new Date();
ngOnInit() {
let date = new Date();
date.setHours(19);
date.setMinutes(0);
this.mytime = date;
}
};