📌  相关文章
📜  ion-datetime 以编程方式打开 - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:36.108000             🧑  作者: Mango

代码示例1


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();
}