Skip to content

How to efficiently remove a component #6125

Answered by artf
parthrc asked this question in Q&A
Discussion options

You must be logged in to vote

No need to remove the component, just use droppable as a function and check the number of current children components.
https://grapesjs.com/docs/api/component.html#properties

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by parthrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants