MCPcopy Create free account
hub / github.com/docusealco/docuseal / attributeChangedCallback

Method attributeChangedCallback

app/javascript/elements/disable_hidden.js:8–12  ·  view source on GitHub ↗
(attributeName, oldValue, newValue)

Source from the content-addressed store, hash-verified

6 }
7
8 attributeChangedCallback (attributeName, oldValue, newValue) {
9 if (attributeName === 'class' && oldValue !== newValue) {
10 this.trigger()
11 }
12 }
13
14 trigger () {
15 const hasHiddenClass = this.classList.contains('hidden')

Callers

nothing calls this directly

Calls 1

triggerMethod · 0.45

Tested by

no test coverage detected