Issue #1440πŸ’¬ AnsweredOpened September 19, 2018by ionic6660 reactions

How to listen for changes to the selection box in Traits

Quick answerby JulyanoF

@ionic666 I guess you will need to create a custom trait: https://github.com/artf/grapesjs/wiki/Traits#define-new-trait-type

Read full answer below ↓

Question

1 2018-09-19_102259 3 i just want to listen for changes to the selection box,but i can't enter the function updateType

Answers (3)

artfβ€’ September 20, 2018

not having changeProp: 1, it will be a simple attribute, so you have listen to: change:attributes:data-sensor

lock[bot]β€’ September 20, 2019

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.