Interface: ReactiveController

lit.ReactiveController

Interface defining lifecycle hooks for Lit reactive controllers.

Implemented by

Table of contents

Methods

Methods

hostConnected

Optional hostConnected(): void

Hook invoked when the host element connects to the DOM.

Returns

void


hostDisconnected

Optional hostDisconnected(): void

Hook invoked when the host element disconnects from the DOM.

Returns

void