Hi There,
I was wondering why togglePalette
isn't exposed (i.e. exported) as a method a-la toggleSidebar
?
Basically I want to hide the sidebar and palette on Mobile and am now doing this:
RED.sidebar.toggleSidebar(false);
$("#red-ui-main-container").addClass("red-ui-palette-closed");
to achieve that.
The second lines comes from here.