Browse Source

Trigger custom event on device change in Sector Manager

up-style-manager
Artur Arseniev 4 years ago
parent
commit
6b8fe249d8
  1. 2
      src/selector_manager/index.js

2
src/selector_manager/index.js

@ -145,7 +145,7 @@ export default () => {
em.trigger('selector:type', value)
);
const listenTo =
'component:toggled component:update:classes styleManager:update selector:state selector:type';
'component:toggled component:update:classes change:device styleManager:update selector:state selector:type';
this.model.listenTo(em, listenTo, () => this.__update());
return this;

Loading…
Cancel
Save