Skip to content

How to customize core source? #5936

Answered by artf
jalim12 asked this question in Q&A
Jun 10, 2024 · 1 comments · 5 replies
Discussion options

You must be logged in to vote

Ok, thanks for the clarification.
I think here you can monkey patch setVisible/isVisible with your own logic.

editor.Layers.setVisible = (cmp, value) => {...};
editor.Layers.isVisible = (cmp) => {...};

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@jalim12
Comment options

@artf
Comment options

artf Jun 11, 2024
Maintainer

@jalim12
Comment options

@artf
Comment options

artf Jun 16, 2024
Maintainer

Answer selected by jalim12
@jalim12
Comment options

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