Here are two ways to pass the css variable to DOM element with the help of directive. The first way is slow, because every new progress value starts Angular сhange check. This can critically affect performance. For example, a fast stream of new values for drawing animations. Therefore, I propose a second method of passing css variable. He is quick and clear. You decide which way is best for you.
-
Notifications
You must be signed in to change notification settings - Fork 0
urdenko/dynamic_pass_CSS_Variable
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published