Bindable setter patterns
Use bindable property setters to transform incoming values before Aurelia applies them.
@bindable({
set: value => someFunction(value), /* HERE */
// Or set: value => value,
mode: /* ... */
})<!-- Enable -->
<my-carousel navigator.bind="true">
<my-carousel navigator="true">
<my-carousel navigator=true>
<my-carousel navigator>
<!-- Disable -->
<my-carousel navigator.bind="false">
<my-carousel navigator="false">
<my-carousel navigator=false>
<my-carousel>Last updated
Was this helpful?