|
|
|
@ -234,6 +234,7 @@ export default class Trait extends Model<TraitProperties> { |
|
|
|
const value = this.getTargetValue(); |
|
|
|
this.set({ value }, { fromTarget: 1 }); |
|
|
|
const props = { trait: this, component, value }; |
|
|
|
component.trigger(TraitsEvents.value, props); |
|
|
|
em?.trigger(TraitsEvents.value, props); |
|
|
|
// This should be triggered for any trait prop change
|
|
|
|
em?.trigger('trait:update', props); |
|
|
|
|