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

Function constructor

packages/main/src/ListItem.ts:241–255  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

239 static i18nBundle: I18nBundle;
240
241 constructor() {
242 super();
243
244 this.deactivateByKey = (e: KeyboardEvent) => {
245 if (isEnter(e)) {
246 this.deactivate();
247 }
248 };
249
250 this.deactivate = () => {
251 if (this.active) {
252 this.active = false;
253 }
254 };
255 }
256
257 onBeforeRendering() {
258 super.onBeforeRendering();

Callers

nothing calls this directly

Calls 2

isEnterFunction · 0.85
deactivateMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…