Issue #2173💬 AnsweredOpened July 30, 2019by Amir28280 reactions

Removing traits dynamically

快速解答by Amir2828

Never mind I have seen a function has been added to a later version

Read full answer below ↓

Question

Hello all,

I would like for some guidance, can anyone shed some light on how is it possible to remove traits from a component dynamically. For example lets say I have a trait that decides on how many more traits will be shown below it. When the number is increased more traits are add and when decreased traits will be deleted. I looked through the guide but didn't find any success.

Any help will be appreciated.

Answers (1)

Amir2828July 30, 2019

Never mind I have seen a function has been added to a later version

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 →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.