File tree Expand file tree Collapse file tree 2 files changed +1
-12
lines changed
packages/core/addon/components/eui-overlay-mask Expand file tree Collapse file tree 2 files changed +1
-12
lines changed Original file line number Diff line number Diff line change 1+ {{ set-body-class " euiBody-hasOverlayMask" }}
12{{ #in-element
23 this.destinationElement
34 insertBefore =null
Original file line number Diff line number Diff line change 11import GlimmerComponent from '@glimmer/component' ;
22
33interface EuiOverlayMaskArgs { }
4-
54export default class EuiOverlayMaskComponent extends GlimmerComponent < EuiOverlayMaskArgs > {
65 destinationElement = document . body ;
7-
8- constructor ( owner : unknown , args : EuiOverlayMaskArgs ) {
9- super ( owner , args ) ;
10- const body = document . body ;
11- body . classList . add ( 'euiBody-hasOverlayMask' ) ;
12- }
13-
14- willDestroy ( ) : void {
15- const body = document . body ;
16- body . classList . remove ( 'euiBody-hasOverlayMask' ) ;
17- }
186}
You can’t perform that action at this time.
0 commit comments