Replacement for discontinued component.trigger(change:style:${prop}
, component, value, opt); from modelValueChanged function
#5723
Unanswered
DixitRatnesh
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm using grapes JS version 0.17.3 currently and was using component.trigger(
change:style:${prop}
, component, value, opt);from modelValueChanged function of ~\src\style_manager\view\PropertyView.js to update the specific property at its change.
Now, I'm migrating to grapesJS version 0.21.8 in which above mentioned trigger is discontinued in PropertyView.ts file.
Could you please suggest me which event to use to update the specific property at its change? I need an event which when I resize my component with background-color using adorner then the background-color keeps on applying based on new resized width and height continuously until I stop resizing.
Regards,
Ratnesh Dixit
Beta Was this translation helpful? Give feedback.
All reactions