function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
xing gao 9xing gao 9 

Is it possible to pass parameters from javascript to CSS using lightning component?

I need to make a scrollable area to spread to the end of the page, so want to pass the inner height of the window to a CSS variable. I see from the document that the only way we can manipulate CSS in javascript is to add and remove class.So wondering if it is possible to pass a parameter from javascript to a CSS variable?