|
|
|
@ -83,8 +83,9 @@ export default class ClassTagsView extends View<Selector> { |
|
|
|
this.em = em; |
|
|
|
this.componentChanged = debounce(this.componentChanged.bind(this), 0); |
|
|
|
this.checkSync = debounce(this.checkSync.bind(this), 0); |
|
|
|
const toList = 'component:toggled component:update:classes'; |
|
|
|
const toListCls = 'component:update:classes change:state'; |
|
|
|
const evClsUp = 'component:update:classes'; |
|
|
|
const toList = `component:toggled ${evClsUp}`; |
|
|
|
const toListCls = `${evClsUp} component:update:attributes:id change:state`; |
|
|
|
this.listenTo(em, toList, this.componentChanged); |
|
|
|
this.listenTo(em, 'styleManager:update', this.componentChanged); |
|
|
|
this.listenTo(em, toListCls, this.__handleStateChange); |
|
|
|
|