@legumeinfo/web-components
Version:
Web Components for the Legume Information System and other AgBio databases
30 lines • 1.06 kB
TypeScript
import { ReactiveController, ReactiveControllerHost } from 'lit';
/**
* A controller that allows components to subsribe to the
* {@link !DOMContentLoaded | `DOMContentLoaded`} event in a manner that
* triggers changes in the component's template when the event occurs.
*/
export declare class LisDomContentLoadedController implements ReactiveController {
/** @ignore */
host: ReactiveControllerHost;
/** @ignore */
private _listeners;
/**
* @param host - The controller that's using the controller.
*/
constructor(host: ReactiveControllerHost);
/** @ignore */
hostConnected(): void;
/** @ignore */
hostDisconnected(): void;
/**
* Adds a listener to the {@link !DOMContentLoaded | `DOMContentLoaded`} event.
*
* @param listener - The listener to subscribe to the
* {@link !DOMContentLoaded | `DOMContentLoaded`} event.
*/
addListener(listener: EventListener): void;
/** @ignore */
private _contentLoaded;
}
//# sourceMappingURL=lis-dom-content-loaded-controller.d.ts.map