grapesjs icon indicating copy to clipboard operation
grapesjs copied to clipboard

Removing traits dynamically

Open Amir2828 opened this issue 7 years ago • 1 comments

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.

Amir2828 avatar Jul 30 '19 14:07 Amir2828

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

Amir2828 avatar Jul 30 '19 15:07 Amir2828