Skip to content

Commit 24565f5

Browse files
committed
add stylable to @controller
1 parent fbdecbf commit 24565f5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/controller.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import type {CustomElementClass} from './custom-element.js'
2+
import {stylable} from './targetable.js'
23
import {targetable} from './targetable.js'
34
import {attrable} from './attrable.js'
45
import {actionable} from './actionable.js'
@@ -11,5 +12,5 @@ import {register} from './register.js'
1112
* wrapping the classes `connectedCallback` method if needed.
1213
*/
1314
export function controller<T extends CustomElementClass>(Class: T) {
14-
return register(actionable(attrable(targetable(Class))))
15+
return register(actionable(attrable(targetable(styleable(Class)))))
1516
}

0 commit comments

Comments
 (0)