Access a DOM element in Aurelia

后端 未结 5 1060
独厮守ぢ
独厮守ぢ 2021-01-07 17:09

How would you go about accessing a DOM element in Aurelia? This is a broad and general question, but I have a feeling there are one or two preferred ways to do this. I have

5条回答
  •  醉梦人生
    2021-01-07 17:46

    Use binding system's ref capability. See the docs http://aurelia.io/docs/binding/basics#referencing-elements

提交回复
热议问题