You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: I realised some components toggle the display class on their outermost element, so it might not permanently hide the component after a event trigger. (Modals is one example if I remember correctly)
1. Permenantly hide
<panelheader="..." add-class="d-none"><p>Contents inside will be hidden too</p><panel>
Then in a page specific CSS (inserted via the head content feature)
/* your custom CSS file */
.ninja-turtle {
display: none; /* 'block' or 'inline-block' if you want it to show */
}
This implementation allows you to use <include> and the elements will adapt to the destination's page CSS.
You can use the ninja-turtle class on normal HTML elements too, to hide / show them. However, since there is no eventListener to update the classes, it will be hidden (or shown) permanently, depending on your display: value.
v1.9.2
Perhaps in the advanced tips section we can give detailed examples of how to use custom classes? These are the things I want to do in particular:
The text was updated successfully, but these errors were encountered: