@kitten-science/kitten-scientists
Version:
Add-on for the wonderful incremental browser game: https://kittensgame.com/web/
18 lines • 788 B
TypeScript
import type { ListItem, ListItemOptions } from "./ListItem.js";
import { UiComponent } from "./UiComponent.js";
export type HeaderListItemOptions = ThisType<HeaderListItem> & ListItemOptions;
export declare class HeaderListItem extends UiComponent implements ListItem {
readonly options: ListItemOptions;
get elementLabel(): JQuery<HTMLElement>;
/**
* Construct an informational text item.
* This is purely for cosmetic/informational value in the UI.
*
* @param host A reference to the host.
* @param text The text to appear on the header element.
* @param options Options for the header.
*/
constructor(parent: UiComponent, text: string, options?: ListItemOptions);
toString(): string;
}
//# sourceMappingURL=HeaderListItem.d.ts.map