fires when the Done button is clicked
value | string|Date | the current value of the control |
$$("myBoard").attachEvent("onTimeSelect", function(current){
if(current > someValue) {
// do smth
}
});
The function executed on this event takes one argument - the current value of the control.
The event handler to the onTimeSelect event can also be attached inside the on property of the related control:
{
view:"timeboard",
// ..config
on:{
onTimeSelect(currVal){
// ...your handler
}
}
}