NativeScript / NativeScript/plugins
DateTimePicker close() event
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 206
- Forks
- 123
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 1
Description
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();
}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the DateTimePicker API and the onDateOpen handler shown in the issue, focusing on how close() is exposed and triggered. Done means documenting a working close() event usage or clearly stating the supported behavior and required invocation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- mobile-dev
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100