17 lines
384 B
JavaScript
17 lines
384 B
JavaScript
import { html, WebComponent } from '../../src/index.js'
|
|
|
|
export class BooleanPropTest extends WebComponent {
|
|
static props = {
|
|
isInline: false,
|
|
anotherone: false,
|
|
}
|
|
|
|
get template() {
|
|
return html`
|
|
<p>is-inline: ${this.props.isInline}</p>
|
|
<p>another-one: ${this.props.anotherone}</p>
|
|
`
|
|
}
|
|
}
|
|
|
|
customElements.define('boolean-prop-test', BooleanPropTest)
|