MCPcopy Create free account
hub / github.com/rough-stuff/wired-elements / _toggleCheck

Method _toggleCheck

packages/wired-toggle/wired-toggle.js:78–82  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

76 }
77
78 _toggleCheck() {
79 this.checked = !(this.checked || false);
80 const event = new CustomEvent('change', { bubbles: true, composed: true, checked: this.checked, detail: { checked: this.checked } });
81 this.dispatchEvent(event);
82 }
83
84 _onDisableChange() {
85 if (this.disabled) {

Callers 2

_renderMethod · 0.95
_attachEventsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected