@anjuna/docs
Version:
Anjuna Documentation Web Components
39 lines (38 loc) • 1.14 kB
JavaScript
import { h } from "@stencil/core";
export class App {
render() {
return [
h("slot", { name: 'header' }),
h("slot", { name: 'side-nav' }),
h("main", null,
h("ad-container", null,
h("slot", null)))
];
}
static get is() { return "ad-app"; }
static get originalStyleUrls() { return {
"$": ["app.scss"]
}; }
static get styleUrls() { return {
"$": ["app.css"]
}; }
static get properties() { return {
"layout": {
"type": "string",
"mutable": false,
"complexType": {
"original": "'default' | 'fluid'",
"resolved": "\"default\" | \"fluid\"",
"references": {}
},
"required": false,
"optional": false,
"docs": {
"tags": [],
"text": "The layout of the app.\nPossible values are: `\"default\"`, `\"fluid\"`."
},
"attribute": "layout",
"reflect": true
}
}; }
}