NativeScript / NativeScript/plugins
DateTimePicker close() event
未关闭
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 206
- 派生
- 123
- 平均合并
- 2 天 1 小时
- 30 天内合并 PR
- 1
描述
How do I use the close() event.
Cannot seem to get it to work.
export function onDateOpen(args){
var weDate = args.object.page.getViewById("weekending"); //DateTimePicker
Dialogs.alert({
title: "Warning",
message: "You cannot select another date yet",
okButtonText: "OK"});
weDate.close();
}
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 issue 中展示的 DateTimePicker API 和 onDateOpen 处理程序开始,重点关注 close() 的公开方式和触发方式。完成标准是记录一种可正常工作的 close() 事件用法,或明确说明支持的行为和所需的调用方式。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- typescript
- 领域
- mobile-dev
- Issue 类型
- 文档
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100