UNPKG

@duetds/components

Version:

This package includes Duet Core Components and related tools.

20 lines (19 loc) 583 B
import { Host, h } from "@stencil/core"; export class DuetVisuallyHidden { /** * render() function * Always the last one in the class. */ render() { return (h(Host, { class: "duet-visually-hidden" }, h("slot", null))); } static get is() { return "duet-visually-hidden"; } static get encapsulation() { return "shadow"; } static get originalStyleUrls() { return { "$": ["duet-visually-hidden.scss"] }; } static get styleUrls() { return { "$": ["duet-visually-hidden.css"] }; } }