Question about component scope #49
Unanswered
andrewtmendoza
asked this question in
Q&A
Replies: 1 comment 2 replies
-
@andrewtmendoza Globally. CSS and JS are not processed by django-components at all. Therefore you need a unique class and anonymous function as I show in the readme. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I was wondering whether a component's CSS and JavaScript are scoped just to that component's markup or if they get applied globally.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions