Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to use actions.setHidden #559

Open
sailei1 opened this issue Sep 11, 2023 · 1 comment
Open

how to use actions.setHidden #559

sailei1 opened this issue Sep 11, 2023 · 1 comment

Comments

@sailei1
Copy link

sailei1 commented Sep 11, 2023

 console.log(allNodes);
         let id=''
        for(let k in allNodes){
            if(allNodes[k].data.name=='Button'){
                id=k;
                break;
            }
        }
        //debugger
        if(id) {
            actions.setHidden(id,true)
            // actions.delete(id);
        }


@sailei1
Copy link
Author

sailei1 commented Sep 11, 2023

@prevwong

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant