action
Fired when the user clicks the checkpoint button.
The event handler function context (available via the this keyword) will be set to the widget instance.
Event Data
e.action String
The current state value of the widget at the time the button was clicked. Matches the state option.
e.sender kendo.ui.Checkpoint
The widget instance which fired the event.
Example - subscribe to the "action" event during initialization
<div id="checkpoint"></div>
<script>
$("#checkpoint").kendoCheckpoint({
state: "restore",
displayMode: "always",
action: function(e) {
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(e.action);
}
});
</script>
Example - subscribe to the "action" event after initialization
<div id="checkpoint"></div>
<script>
$("#checkpoint").kendoCheckpoint({
state: "restore",
displayMode: "always"
});
var checkpoint = $("#checkpoint").data("kendoCheckpoint");
checkpoint.bind("action", function(e) {
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(e.action);
});
</script>