Skip to content

Commit 0cc2e6f

Browse files
committed
feat: scroll-to attribute to set scroll to top, bottom, left, right
1 parent a7bb2ea commit 0cc2e6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CoCreate.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ module.exports = {
158158
},
159159
"scroll": {
160160
"import": "@cocreate/scroll",
161-
"selector": "[scroll]"
161+
"selector": "[scroll], [scroll-to]"
162162
},
163163
"resize": {
164164
"import": "@cocreate/resize",
@@ -294,7 +294,7 @@ module.exports = {
294294
},
295295
"prism": {
296296
"import": "@cocreate/prism",
297-
"selector": ".language-html, .language-css, .language-js, .language-shell, .language-json"
297+
"selector": "[class*='language-']"
298298
},
299299
"fabric": {
300300
"import": "@cocreate/fabric",

0 commit comments

Comments
 (0)