How can find the width of an HTML element in Lit-Element know, I'm unable to find to how to use @query
import { LitElement, html, query } from 'lit-element';
class MyElement extends LitElement {
@query('#first')
first;
render() {
return html`
<div id="first">I want to know the size of this div</div>
<div id="second">and set size to this div</div>
`;
}
}