save

fires on saving the timepicker value

void save(){ ... };

Deprecated

instead of it, use the apply event:

timepicker.events.on("Apply", function(){
    console.log("The value of a timepicker "+timepicker.getValue()+ " has been saved");
});

Example

timepicker.events.on("Save", function(){
    console.log("The value of a timepicker "+timepicker.getValue()+ " has been saved");
});

Related samples

Back to top