()
| 86 | |
| 87 | // fires after the element has been attached to the DOM |
| 88 | connectedCallback() { |
| 89 | const removeElementButtons = [...this.shadowRoot.querySelectorAll('.editable-list-remove-item')]; |
| 90 | const addElementButton = this.shadowRoot.querySelector('.editable-list-add-item'); |
| 91 | |
| 92 | this.itemList = this.shadowRoot.querySelector('.item-list'); |
| 93 | |
| 94 | this.handleRemoveItemListeners(removeElementButtons); |
| 95 | addElementButton.addEventListener('click', this.addListItem, false); |
| 96 | } |
| 97 | |
| 98 | // gathering data from element attributes |
| 99 | get title() { |
nothing calls this directly
no test coverage detected