UNPKG

@kitten-science/kitten-scientists

Version:

Add-on for the wonderful incremental browser game: https://kittensgame.com/web/

12 lines 412 B
import { ListItem } from "./ListItem.js"; import stylesListItem from "./ListItem.module.css"; export class ButtonListItem extends ListItem { button; constructor(parent, button, options) { super(parent, { ...options }); this.button = button; this.element.addClass(stylesListItem.head); this.element.append(button.element); } } //# sourceMappingURL=ButtonListItem.js.map