[Question]: Event listener to visibility(eye) icon in the Layer Manager #3635
Unanswered
sathyanarayananaCES
asked this question in
Q&A
Replies: 1 comment
-
Hello! editor.on("run:preview", () => {
console.log("run:preview");
});
editor.on("stop:preview", () => {
console.log("stop:preview");
}); For the second question, the preview code removes the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to listen to the eye icon in the layer manager from the editor, based on which, I need to write the custom styles. Is there any way we can do that?
I got the code, from another issue, I would like to extend the toggleVisibility method from here. Is it possible? if so, how can we do that?
Secondly, I would like to write custom media queries to the selected element on change of the visibility icon, how can it be done in the best way?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions