UNPKG

@kitten-science/kitten-scientists

Version:

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

19 lines 575 B
import styles from "./Delimiter.module.css"; import { UiComponent } from "./UiComponent.js"; export class Delimiter extends UiComponent { /** * Constructs a `Delimiter`. * * @param host A reference to the host. * @param label The label on the fieldset. * @param options Options for the fieldset. */ constructor(parent) { super(parent, {}); this.element = $("<div/>").addClass(styles.delimiter); } toString() { return `[${Delimiter.name}#${this.componentId}]`; } } //# sourceMappingURL=Delimiter.js.map