I should be able to tell Aurelia that an attribute's value should be treated as a boolean. This should work for both simple custom attributes as well as attributes on custom elements.
Usage:
Custom Element VM:
export class Foo {
@bindable({ isBoolean: true }) bar;
}
If the custom attribute or custom element tells Aurelia that it expects its value to be a boolean, the Aurelia will coerce the value to a boolean before setting the VM property and calling any changed callbacks.