Update 30-guidelines-scoped-elements.md

Fix query selector example
This commit is contained in:
Daniel Vivar 2020-08-28 17:53:21 +02:00 committed by Thomas Allmer
parent 5be15e8991
commit 3e00819bdf

View file

@ -40,7 +40,7 @@ Since Scoped Elements changes tagnames under the hood, a tagname querySelector s
like this:
```js
this.querySelector(getTagName('lion-input', this.constructor.scopedElements));
this.querySelector(this.constructor.getScopedTagName('lion-input', this.constructor.scopedElements));
```
## CSS selectors