Event binding EventBinding Class
Event bindings allows binding events to to JavaScript functions.
You can hook up event handlers to call JavaScript functions with similar syntax to data bindings:
<JavaScript>
module.exports = {
clickHandler: function (args) {
console.log("I was clicked: " + JSON.stringify(args));
}
};
</JavaScript>
<Button Clicked="{clickHandler}" Text="Click me!" />
For more information, see DataBinding.
Location
- Namespace
- Fuse.Reactive
- Package
- Fuse.Reactive.Bindings 2.9.1