Hide the widget by setting the content-visibility to 'hidden'.
Set a lm-mod-hidden CSS class to hide the widget using display:none
CSS from the standard Lumino CSS.
Hide the widget by setting the transform to 'scale(0)'.
Generated using TypeDoc
The method for hiding the widget.
The default is Display.
Using
Scalewill often increase performance as most browsers will not trigger style computation for thetransformaction. This should be used sparingly and tested, since increasing the number of composition layers may slow things down.To ensure the transformation does not trigger style recomputation, you may need to set the widget CSS style
will-change: transform. This should be used only when needed as it may overwhelm the browser with a high number of layers. See https://developer.mozilla.org/en-US/docs/Web/CSS/will-change