@utrecht/web-component-library-stencil
Version:
Stencil component library bundle for the Municipality of Utrecht based on the NL Design System architecture
50 lines (49 loc) • 1.37 kB
JavaScript
import { h } from "@stencil/core";
/**
* @license EUPL-1.2
* Copyright (c) 2020-2024 Frameless B.V.
* Copyright (c) 2021-2024 Gemeente Utrecht
*/
export class NavBar {
constructor() {
this.sticky = false;
}
render() {
return (h("div", { key: '77525d5333f5b21f82d6fe12c05e8aa3d7630d4c' }, h("slot", { key: '0eee79b3ce4c2a7b786b55aa7dbbb6fb0687e915' })));
}
static get is() { return "utrecht-nav-bar"; }
static get encapsulation() { return "shadow"; }
static get originalStyleUrls() {
return {
"$": ["nav-bar.scss"]
};
}
static get styleUrls() {
return {
"$": ["nav-bar.css"]
};
}
static get properties() {
return {
"sticky": {
"type": "boolean",
"mutable": false,
"complexType": {
"original": "boolean",
"resolved": "boolean",
"references": {}
},
"required": false,
"optional": false,
"docs": {
"tags": [],
"text": ""
},
"attribute": "sticky",
"reflect": false,
"defaultValue": "false"
}
};
}
}
//# sourceMappingURL=nav-bar.js.map