We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Custom elements can use other custom elements.
<todo-list> <todo-item>Item 1</todo-item> <todo-item>Item 2</todo-item> <todo-item>Item 3</todo-item> <todo-item>Item 4</todo-item> </todo-list>
Since the element in a child, you can access the element from the query selector
this.shadowRoot.querySelectorAll('todo-item');