240 发简信
IP属地:海南
  • aurelia ---- custom attributes 自定义属性

    draggable.ts @customAttribute('aaa') //如果不写,默认为文件名字 export class Draggab...

  • aurelia ---- 发布订阅

    import { EventAggregator } from "aurelia-event-aggregator" @autoinject e...

  • aurelia ---- 依赖注入

    @inject aurelia-http-client: 根据XMLHttpRequest而来 aurelia-fetch-client: 根据...

  • aurelia ---- 组件之间传值

    子组件:dropdown-button.ts @bindable isMultiple: boolean = false; 子组件:dropdo...

  • binding

    1. 基本数据绑定 html: ts: export class Hi { firstName: string = 'aa'; lastNam...

  • aurelia ---- computed property

    对某些属性的实时监控

  • aurelia ---- lifecycle

    对于Components: --constructor() --created(owningView: View, myView: View) ...

  • aurelia trigger/delegate

    Aurelia将对使用trigger/delegate绑定处理的事件自动调用preventDefault() 区别:能用delegate就用de...

  • Resize,w 360,h 240