XML View Event Binding
<Button text="Press Me" press="some.Helper.doSomething.call($controller, 'Hello World')"/>
<Button text="Press Me" press=".doSomething(${path: 'products>unitPrice', formatter: '.formatPrice'})" />
<Button text="Press Me" press=".doSomething(10 * ${products>unitPrice})" />
<Button text="Press Me" press=".doSomething(${products>type} === 'Laptop')" />
Two new model
<Select change=".doSomething(${$parameters>/selectedItem})" />
<Button text="Press Me" press=".doSomething(${$source>/text})" />
Two new variable
<Button text="Press Me" press=".doSomething($event)" />
<Button text="Press Me" press=".doSomething($controller)" />
References