UNPKG

@scania/tegel

Version:
47 lines (46 loc) 1.53 kB
import { Host, h } from "@stencil/core"; export class TdsPopoverMenuItem { constructor() { this.disabled = false; } render() { return (h(Host, { key: '64faf6cb0d6b7cf61baa086984db76a18c786920', role: "menuitem", "aria-disabled": this.disabled ? 'true' : 'false' }, h("div", { key: 'af8cf012fd1f2e02862b5830608aadf6bc183c4b', class: { wrapper: true, disabled: this.disabled, } }, h("slot", { key: 'e1057d681689dc614415e980894b85a6b6289a88' })))); } static get is() { return "tds-popover-menu-item"; } static get encapsulation() { return "shadow"; } static get originalStyleUrls() { return { "$": ["popover-menu-item.scss"] }; } static get styleUrls() { return { "$": ["popover-menu-item.css"] }; } static get properties() { return { "disabled": { "type": "boolean", "mutable": false, "complexType": { "original": "boolean", "resolved": "boolean", "references": {} }, "required": false, "optional": false, "docs": { "tags": [], "text": "Disables the Popover Menu Item" }, "attribute": "disabled", "reflect": false, "defaultValue": "false" } }; } }