Closed zixsma closed 5 years ago
I think we need litquery and litqueryall snippets
litquery
litqueryall
Typescript
@query('some-query-string') classProperty: type;
Javascript
get classProperty() { return this.shadowRoot.querySelector('some-query-string') }
@queryAll('some-query-string') classProperty: NodeListOf<type>;
get classProperty() { return this.shadowRoot.querySelectorAll('some-query-string') }
I think we need
litquery
andlitqueryall
snippetslitquery
Typescript
Javascript
litqueryall
Typescript
Javascript