Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/UI5/webcomponents
/ onEnterDOM
Method
onEnterDOM
packages/main/src/Carousel.ts:381–386 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
379
}
380
381
onEnterDOM() {
382
ResizeHandler.register(this, this._onResizeBound);
383
if
(isDesktop()) {
384
this.setAttribute(
"desktop"
,
""
);
385
}
386
}
387
388
onExitDOM() {
389
this._contentItemsObserver.disconnect();
Callers
nothing calls this directly
Calls
2
isDesktop
Function · 0.85
register
Method · 0.45
Tested by
no test coverage detected