Issue #1962πŸ’¬ AnsweredOpened April 12, 2019by Ramkumar-Murugesan0 reactions

Any other way to listen the traits option changes

Quick answerby artf

You can make use of a global listener editor.on('component:update:mytype', ...) or trigger some custom event inside the local method

Read full answer below ↓

Question

HI, I added the code of listening to the changes made when the user selects the values in the dropdown. but I need to listen to the changes in some other places in the code. In the above change working fine. but I need to listen to the changes in another place. can anyone please help me

Answers (2)

artfβ€’ April 13, 2019

You can make use of a global listener editor.on('component:update:mytype', ...) or trigger some custom event inside the local method

lock[bot]β€’ April 15, 2020

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.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins β†’
Premium option

Premium plugins ship with support, regular updates, and production-ready features β€” save days of integration work.

Browse premium plugins β†’

Related tutorials

In-depth guides on the same topic.

All tutorials β†’

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.