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

Method _onfocusout

packages/main/src/Button.ts:619–630  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

617 }
618
619 _onfocusout() {
620 if (this.nonInteractive) {
621 return;
622 }
623
624 this._isSpacePressed = false;
625 this._cancelAction = false;
626
627 if (this.active) {
628 this._setActiveState(false);
629 }
630 }
631
632 _setActiveState(active: boolean) {
633 const eventPrevented = !this.fireDecoratorEvent("active-state-change");

Callers

nothing calls this directly

Calls 1

_setActiveStateMethod · 0.95

Tested by

no test coverage detected