| 51 | * calling `requestUpdate()` on the host. |
| 52 | */ |
| 53 | export interface ReactiveController { |
| 54 | /** |
| 55 | * Called when the host is connected to the component tree. For custom |
| 56 | * element hosts, this corresponds to the `connectedCallback()` lifecycle, |
| 57 | * which is only called when the component is connected to the document. |
| 58 | */ |
| 59 | hostConnected?(): void; |
| 60 | |
| 61 | /** |
| 62 | * Called when the host is disconnected from the component tree. For custom |
| 63 | * element hosts, this corresponds to the `disconnectedCallback()` lifecycle, |
| 64 | * which is called the host or an ancestor component is disconnected from the |
| 65 | * document. |
| 66 | */ |
| 67 | hostDisconnected?(): void; |
| 68 | |
| 69 | /** |
| 70 | * Called during the client-side host update, just before the host calls |
| 71 | * its own update. |
| 72 | * |
| 73 | * Code in `update()` can depend on the DOM as it is not called in |
| 74 | * server-side rendering. |
| 75 | */ |
| 76 | hostUpdate?(): void; |
| 77 | |
| 78 | /** |
| 79 | * Called after a host update, just before the host calls firstUpdated and |
| 80 | * updated. It is not called in server-side rendering. |
| 81 | * |
| 82 | */ |
| 83 | hostUpdated?(): void; |
| 84 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…