* On first connection, creates the element's renderRoot, sets up * element styling, and enables updating. * @category lifecycle
()
| 1135 | * @category lifecycle |
| 1136 | */ |
| 1137 | connectedCallback() { |
| 1138 | // Create renderRoot before controllers `hostConnected` |
| 1139 | (this as Mutable<typeof this, 'renderRoot'>).renderRoot ??= |
| 1140 | this.createRenderRoot(); |
| 1141 | this.enableUpdating(true); |
| 1142 | this.__controllers?.forEach((c) => c.hostConnected?.()); |
| 1143 | } |
| 1144 | |
| 1145 | /** |
| 1146 | * Note, this method should be considered final and not overridden. It is |
nothing calls this directly
no test coverage detected
searching dependent graphs…