We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b21d40b + 20645b7 commit 80cccb7Copy full SHA for 80cccb7
1 file changed
src/controller.ts
@@ -14,6 +14,7 @@ interface CustomElement {
14
*/
15
export function controller(classObject: CustomElement): void {
16
wrap(classObject.prototype, 'connectedCallback', function (this: HTMLElement) {
17
+ this.toggleAttribute('data-catalyst', true)
18
bind(this)
19
})
20
register(classObject)
0 commit comments