Guest User

Untitled

a guest
Dec 10th, 2018
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. open() {
  2. const amazingTimePicker = this.atp.open({
  3. theme: 'material-orange',
  4. time:this.Start
  5. });
  6. amazingTimePicker.afterClose().subscribe(time => {
  7. this.Start = time;
  8. this.onchange()
  9. });
  10. }
  11.  
  12. <input disabled theme="material-orange" type="time" matInput class="material" atp-time-picker value="{{Start}}"/>
Add Comment
Please, Sign In to add comment