Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration HiddenMode

The method for hiding the widget.

The default is Display.

Using Scale will often increase performance as most browsers will not trigger style computation for the transform action. 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

Index

Enumeration members

Enumeration members

ContentVisibility

ContentVisibility: = 2

Hide the widget by setting the content-visibility to 'hidden'.

Display

Display: = 0

Set a lm-mod-hidden CSS class to hide the widget using display:none CSS from the standard Lumino CSS.

Scale

Scale: = 1

Hide the widget by setting the transform to 'scale(0)'.

Generated using TypeDoc