Angular material Datepicker get value on change

后端 未结 3 864
闹比i
闹比i 2021-02-07 04:00

I\'m using the new version of angular and angular material. I need to get the value of the datepicker at the moment the user change the date to then pass that value

3条回答
  •  猫巷女王i
    2021-02-07 04:52

    According to the official documentation, the MatDatepickerInput has a dateInput EventEmitter and it's emits the selected date.

    
     
    
    
    
    
    

提交回复
热议问题