Hello,
I would like to hide a button such as 'Edit' for some users according to condition in editor.
Regards
You can use button().enable() and button().disable() to enable or disable buttons. You can use button().node() to get the node to apply styling like hiding or making visible. Another option is button().add() and button().remove().
button().enable()
button().disable()
button().node()
button().add()
button().remove()
Kevin
Thanks alot Kevin,
Worked perfect
Replies
You can use
button().enable()andbutton().disable()to enable or disable buttons. You can usebutton().node()to get the node to apply styling like hiding or making visible. Another option isbutton().add()andbutton().remove().Kevin
Thanks alot Kevin,
Worked perfect