@kitten-science/kitten-scientists
Version:
Add-on for the wonderful incremental browser game: https://kittensgame.com/web/
20 lines • 707 B
TypeScript
import { UiComponent, type UiComponentOptions } from "./UiComponent.js";
export type ListItemOptions = ThisType<ListItem> & UiComponentOptions & {
/**
* Should there be additional padding below this element?
*/
readonly delimiter?: boolean;
readonly classes?: Array<string>;
};
export declare class ListItem extends UiComponent {
readonly options: ListItemOptions;
/**
* Construct a new simple list item with only a container element.
*
* @param host The userscript instance.
* @param options Options for the list item.
*/
constructor(parent: UiComponent, options?: ListItemOptions);
toString(): string;
}
//# sourceMappingURL=ListItem.d.ts.map