Answers for "how to get css property of div after rendering in react js"

0

how to get css property of div after rendering in react js

console.log(window.getComputedStyle(ReactDOM.findDOMNode(this.refs.container)).getPropertyValue("border-radius"));// border-radius can be replaced with any other style attributes;
Posted by: Guest on January-18-2021

Code answers related to "how to get css property of div after rendering in react js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language