📅  最后修改于: 2022-03-11 14:48:36.108000             🧑  作者: Mango
and then in your code
...
//first create a reference to the datetime control:
@ViewChild('dateTime') sTime;
...
//then add your event code:
openStart()
{
this.sTime.open();
}