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

Function attachInvalidate

packages/base/src/UI5Element.ts:648–650  ·  view source on GitHub ↗

* Attach a callback that will be executed whenever the component is invalidated * * @param callback * @public

(callback: (param: InvalidationInfo) => void)

Source from the content-addressed store, hash-verified

646 * @public
647 */
648 attachInvalidate(callback: (param: InvalidationInfo) => void): void {
649 this._invalidationEventProvider.attachEvent("invalidate", callback);
650 }
651
652 /**
653 * Detach the callback that is executed whenever the component is invalidated

Callers

nothing calls this directly

Calls 1

attachEventMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…