@bulmil/core
Version:

48 lines (47 loc) • 1.25 kB
JavaScript
/*!
* Bulmil - MIT License
*/
import { h, Host } from "@stencil/core";
export class Section {
constructor() {
this.size = undefined;
}
render() {
return (h(Host, { key: '631a5544c98348c61355fd56cefc06e82dfd09ef', class: {
section: true,
[this.size]: Boolean(this.size),
} }));
}
static get is() { return "bm-section"; }
static get originalStyleUrls() {
return {
"$": ["section.scss"]
};
}
static get styleUrls() {
return {
"$": ["section.css"]
};
}
static get properties() {
return {
"size": {
"type": "string",
"mutable": false,
"complexType": {
"original": "'is-medium' | 'is-large'",
"resolved": "\"is-large\" | \"is-medium\"",
"references": {}
},
"required": false,
"optional": false,
"docs": {
"tags": [],
"text": "Section size"
},
"attribute": "size",
"reflect": false
}
};
}
}