How to listen for changes to the selection box in Traits
Question
i just want to listen for changes to the selection box,but i can't enter the function updateType
Answers (3)
@ionic666 I guess you will need to create a custom trait: https://github.com/artf/grapesjs/wiki/Traits#define-new-trait-type
not having changeProp: 1, it will be a simple attribute, so you have listen to: change:attributes:data-sensor
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #1171
how to change the content
hi ,Thank you for your advice on the previous question.but when i change the content ,there will be a extra table.can you tell me which met...
Issue #1098
how to use plugins
when i import grapes-plugin-export,there is a warnning,please help me
Issue #1237
Before you drag and drop the image,there was nothing in assetManager
and I don't know how to set the backgroundImage
Issue #1723
[QUESTION] replacing particular text in dropped component
Hi, I get the value from custom traits from what I entered but I don't know how to change the particular value in dropped component and ren...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.