MCPcopy Create free account
hub / github.com/UI5/webcomponents / onEnterDOM

Method onEnterDOM

packages/main/src/Avatar.ts:397–404  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

395 }
396
397 onEnterDOM() {
398 if (isDesktop()) {
399 this.setAttribute("desktop", "");
400 }
401
402 this.initialsContainer && ResizeHandler.register(this.initialsContainer,
403 this._handleResizeBound);
404 }
405
406 onExitDOM() {
407 this.initialsContainer && ResizeHandler.deregister(this.initialsContainer,

Callers

nothing calls this directly

Calls 2

isDesktopFunction · 0.85
registerMethod · 0.45

Tested by

no test coverage detected