Skip to content

Commit b6e41ca

Browse files
authored
Merge pull request #380 from NativeScript/timepicker_desc
extending time picker description
2 parents e8e803d + eb3f546 commit b6e41ca

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

app/ng-ui-widgets-category/time-picker/configure-time-picker/article.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
TimePicker can be easily configured by setting the required properties.
2-
2+
The example below demonstrates how to set up the initial `hour` and `minute` for the TimePicker component and how to handle selected time change via `timeChange` event.
3+
The `hour` and `minute` expects integer values and the `timeChange` will return a value of type Date.
34
HTML
45
<snippet id='creating-timepicker-html'/>
56

app/ng-ui-widgets-category/time-picker/configure-time-picker/configure-time-picker.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export class ConfigureTimePickerComponent {
1616
}
1717

1818
onTimeChanged(args) {
19+
console.log(typeof(args.value))
1920
console.log(args.value);
2021
}
2122
}

0 commit comments

Comments
 (0)