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

Method _onmousedown

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

Source from the content-addressed store, hash-verified

555 }
556
557 _onmousedown() {
558 if (this.nonInteractive) {
559 return;
560 }
561
562 this._setActiveState(true);
563 activeButton = this; // eslint-disable-line
564 }
565
566 _ontouchend(e: TouchEvent) {
567 if (this.disabled || this.loading) {

Callers

nothing calls this directly

Calls 1

_setActiveStateMethod · 0.95

Tested by

no test coverage detected