draggable.ts @customAttribute('aaa') //如果不写,默认为文件名字 export class Draggable { ...} 使用的时候:

draggable.ts @customAttribute('aaa') //如果不写,默认为文件名字 export class Draggable { ...} 使用的时候:
import { EventAggregator } from "aurelia-event-aggregator" @autoinject export class Car...
@inject aurelia-http-client: 根据XMLHttpRequest而来 aurelia-fetch-client: 根据Fetch而来。 @autoi...
子组件:dropdown-button.ts @bindable isMultiple: boolean = false; 子组件:dropdown-button.html ...
1. 基本数据绑定 html: ts: export class Hi { firstName: string = 'aa'; lastName: string = 'aa...
对某些属性的实时监控
对于Components: --constructor() --created(owningView: View, myView: View) --bind() //这里可以...
Aurelia将对使用trigger/delegate绑定处理的事件自动调用preventDefault() 区别:能用delegate就用delegate。不会冒泡的事件用...