MCPcopy Index your code
hub / github.com/UI5/webcomponents / updateAttributes

Function updateAttributes

packages/base/src/UI5Element.ts:880–886  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

878 onInvalidation(changeInfo: ChangeInfo): void { } // eslint-disable-line
879
880 updateAttributes() {
881 const ctor = this.constructor as typeof UI5Element;
882 const props = ctor.getMetadata().getProperties();
883 for (const [prop, propData] of Object.entries(props)) { // eslint-disable-line
884 this._updateAttribute(prop, (this as unknown as Record<string, PropertyValue>)[prop]);
885 }
886 }
887
888 /**
889 * Do not call this method directly, only intended to be called by js

Callers

nothing calls this directly

Calls 2

getPropertiesMethod · 0.80
getMetadataMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…