Skip to content

Instantly share code, notes, and snippets.

_getItems() {
return this.shadowRoot.querySelector('slot')
.assignedNodes({flatten:true})
.filter(n => {
return n.nodeType === Node.ELEMENT_NODE
&& n.localName === 'ibm-q-accordion-item';
});
}