Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/UI5/webcomponents
/ onEnterDOM
Method
onEnterDOM
packages/main/src/AvatarGroup.ts:417–423 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
415
}
416
417
onEnterDOM() {
418
if
(isDesktop()) {
419
this.setAttribute(
"desktop"
,
""
);
420
}
421
422
ResizeHandler.register(this, this._onResizeHandler);
423
}
424
425
onExitDOM() {
426
ResizeHandler.deregister(this, this._onResizeHandler);
Callers
nothing calls this directly
Calls
2
isDesktop
Function · 0.85
register
Method · 0.45
Tested by
no test coverage detected