import { gettext } from "django"; import { CSSResult, customElement, html, LitElement, property, TemplateResult } from "lit-element"; import { COMMON_STYLES } from "../common/styles"; @customElement("ak-expand") export class Expand extends LitElement { @property({ type: Boolean }) expanded = false; @property() textOpen = "Show less"; @property() textClosed = "Show more"; static get styles(): CSSResult[] { return COMMON_STYLES; } render(): TemplateResult { return html`
`; } }