@claromentis/design-system
Version:
Claromentis Design System Component Library
57 lines (56 loc) • 1.19 kB
JavaScript
import { h } from '@stencil/core';
export class ClaItem {
constructor() {
this.orientate = 'horizontal';
}
hostData() {
const { orientate } = this;
return {
"class": orientate
};
}
render() {
return [
h("span", null, h("slot", null))
];
}
static get is() { return "cla-item"; }
static get encapsulation() { return "shadow"; }
static get originalStyleUrls() {
return {
"$": ["cla-item.scss"]
};
}
static get styleUrls() {
return {
"$": ["cla-item.css"]
};
}
static get properties() {
return {
"orientate": {
"type": "string",
"mutable": false,
"complexType": {
"original": "Orientation",
"resolved": "\"horizontal\" | \"vertical\"",
"references": {
"Orientation": {
"location": "import",
"path": "../../interfaces"
}
}
},
"required": false,
"optional": false,
"docs": {
"tags": [],
"text": ""
},
"attribute": "orientate",
"reflect": false,
"defaultValue": "'horizontal'"
}
};
}
}