()
| 216 | } |
| 217 | |
| 218 | private setIsInteractive() { |
| 219 | // If item contains any interactive children, set isInteractive to `true` |
| 220 | const { covers, inputs, clickables } = this.totalNestedInputs(); |
| 221 | |
| 222 | this.isInteractive = covers.length > 0 || inputs.length > 0 || clickables.length > 0; |
| 223 | } |
| 224 | |
| 225 | // slot change listener updates state to reflect how/if item should be interactive |
| 226 | private updateInteractivityOnSlotChange = () => { |
no test coverage detected