We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42f7a61 commit e25f0e4Copy full SHA for e25f0e4
1 file changed
src/controller.ts
@@ -9,6 +9,7 @@ import type {CustomElement} from './custom-element.js'
9
export function controller(classObject: CustomElement): void {
10
const connect = classObject.prototype.connectedCallback
11
classObject.prototype.connectedCallback = function (this: HTMLElement) {
12
+ customElements.upgrade(this)
13
initializeInstance(this, connect)
14
}
15
initializeClass(classObject)
0 commit comments