$jsapi.bind
This method is used for setting up handlers.
caution
This method is used internally by the
bind
built-in function.
We do not recommend calling it directly.How to use
$jsapi.bind({
type: "postProcess",
handler: function($context) {
$context.session.lastState = $context.currentState;
},
path: "/Start",
name: "Remember last state"
});