grapesjs icon indicating copy to clipboard operation
grapesjs copied to clipboard

[QUESTIONS] Breadcrumb

Open jvillena opened this issue 8 years ago • 2 comments

Hi @artf, Now I'm working on creating a breadcrumb similar to the LayerManager but I would like to know if already exists a method that I can tell it the dom element to be hovered when I'm over the breadcrumb item similar as you are doing on the LayerManager.

Thanks

jvillena avatar Sep 13 '18 13:09 jvillena

Each component has a status property, so in your breadcrumb view you can listen to change:status on each component model. Look at how it's implemented in ComponentView and just re-used in Layers here ItemView. So you can basically do the same (re-use that method from the default component type) you might just need to handle the CSS

artf avatar Sep 15 '18 09:09 artf

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.

lock[bot] avatar Sep 17 '19 06:09 lock[bot]