class 类上的方法
class TvControl {
constructor() {
this._nextId = 1
this.root = new TvNode(this)
this.multiSelectAble = false
this.onNodeCreate = null //默认为null
}
get focusNode
class 类上的方法
class TvControl {
constructor() {
this._nextId = 1
this.root = new TvNode(this)
this.multiSelectAble = false
this.onNodeCreate = null //默认为null
}
get focusNode