You need to sign in to do that
Don't have an account?
xing 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?