We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fbdecbf commit 24565f5Copy full SHA for 24565f5
src/controller.ts
@@ -1,4 +1,5 @@
1
import type {CustomElementClass} from './custom-element.js'
2
+import {stylable} from './targetable.js'
3
import {targetable} from './targetable.js'
4
import {attrable} from './attrable.js'
5
import {actionable} from './actionable.js'
@@ -11,5 +12,5 @@ import {register} from './register.js'
11
12
* wrapping the classes `connectedCallback` method if needed.
13
*/
14
export function controller<T extends CustomElementClass>(Class: T) {
- return register(actionable(attrable(targetable(Class))))
15
+ return register(actionable(attrable(targetable(styleable(Class)))))
16
}
0 commit comments