Back to .net8.0 api/v4/InfinityQS ApiExplorerSettings Wafer Counter Color Sorting
85 lines
2.0 KiB
JavaScript
85 lines
2.0 KiB
JavaScript
// dropdown-item.tsx
|
|
import { h } from "@stencil/core";
|
|
export class NavbarMenuItem {
|
|
constructor() {
|
|
this.href = "";
|
|
this.target = "_self";
|
|
this.hide = false;
|
|
}
|
|
render() {
|
|
let hrefAttr = this.href ? { href: this.href, target: this.target } : {};
|
|
return (h("a", Object.assign({}, hrefAttr, { class: `navbar__menu-item ${this.hide ? 'hide' : ""}` }), h("span", null, h("slot", null))));
|
|
}
|
|
static get is() { return "ifx-navbar-menu-item"; }
|
|
static get encapsulation() { return "shadow"; }
|
|
static get originalStyleUrls() {
|
|
return {
|
|
"$": ["navbar-menu-item.scss"]
|
|
};
|
|
}
|
|
static get styleUrls() {
|
|
return {
|
|
"$": ["navbar-menu-item.css"]
|
|
};
|
|
}
|
|
static get properties() {
|
|
return {
|
|
"href": {
|
|
"type": "string",
|
|
"mutable": false,
|
|
"complexType": {
|
|
"original": "string",
|
|
"resolved": "string",
|
|
"references": {}
|
|
},
|
|
"required": false,
|
|
"optional": false,
|
|
"docs": {
|
|
"tags": [],
|
|
"text": ""
|
|
},
|
|
"attribute": "href",
|
|
"reflect": false,
|
|
"defaultValue": "\"\""
|
|
},
|
|
"target": {
|
|
"type": "string",
|
|
"mutable": false,
|
|
"complexType": {
|
|
"original": "string",
|
|
"resolved": "string",
|
|
"references": {}
|
|
},
|
|
"required": false,
|
|
"optional": false,
|
|
"docs": {
|
|
"tags": [],
|
|
"text": ""
|
|
},
|
|
"attribute": "target",
|
|
"reflect": false,
|
|
"defaultValue": "\"_self\""
|
|
},
|
|
"hide": {
|
|
"type": "boolean",
|
|
"mutable": false,
|
|
"complexType": {
|
|
"original": "boolean",
|
|
"resolved": "boolean",
|
|
"references": {}
|
|
},
|
|
"required": false,
|
|
"optional": false,
|
|
"docs": {
|
|
"tags": [],
|
|
"text": ""
|
|
},
|
|
"attribute": "hide",
|
|
"reflect": false,
|
|
"defaultValue": "false"
|
|
}
|
|
};
|
|
}
|
|
}
|
|
//# sourceMappingURL=navbar-menu-item.js.map
|