UNPKG

@anjuna/docs

Version:

Anjuna Documentation Web Components

51 lines (50 loc) 1.44 kB
import { h } from "@stencil/core"; export class Nav { render() { return (h("nav", null, h("slot", null))); } static get is() { return "ad-nav"; } static get originalStyleUrls() { return { "$": ["nav.scss"] }; } static get styleUrls() { return { "$": ["nav.css"] }; } static get properties() { return { "active": { "type": "boolean", "mutable": false, "complexType": { "original": "boolean", "resolved": "boolean", "references": {} }, "required": false, "optional": false, "docs": { "tags": [], "text": "Whether the nav is active or not." }, "attribute": "active", "reflect": true }, "disabled": { "type": "boolean", "mutable": false, "complexType": { "original": "boolean", "resolved": "boolean", "references": {} }, "required": false, "optional": false, "docs": { "tags": [], "text": "Disable the nav regardless of active state" }, "attribute": "disabled", "reflect": true } }; } }