UNPKG

@utrecht/web-component-library-stencil

Version:

Stencil component library bundle for the Municipality of Utrecht based on the NL Design System architecture

49 lines (48 loc) 1.46 kB
/** * @license EUPL-1.2 * Copyright (c) 2020-2024 Frameless B.V. * Copyright (c) 2021-2024 Gemeente Utrecht */ import { h } from "@stencil/core"; export class SkipLink { constructor() { this.href = undefined; } render() { return (h("a", { key: 'b51a15421675dd33b7c96f7da367a0a355ba42c9', href: typeof this.href === 'string' ? this.href : undefined, class: "utrecht-skip-link utrecht-skip-link--visible-on-focus" }, h("slot", { key: 'b116757a22c64dfc335143d0a70bbf55aee5a04e' }))); } static get is() { return "utrecht-skip-link"; } static get encapsulation() { return "shadow"; } static get originalStyleUrls() { return { "$": ["skip-link.scss"] }; } static get styleUrls() { return { "$": ["skip-link.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 } }; } } //# sourceMappingURL=skip-link.js.map