UNPKG

wj-elements

Version:

WebJET Elements is a modern set of user interface tools harnessing the power of web components designed to simplify web application development.

23 lines (22 loc) 691 B
import { default as WJElement } from '../wje-element/element.js'; /** * `Route` is a custom web component that represents a route in a routing system. * @summary This element represents a route in a routing system. * @documentation https://elements.webjet.sk/components/route * @status stable * @augments WJElement * @tag wje-route */ export default class Route extends WJElement { /** * Returns the list of attributes to observe for changes. * @static * @returns {Array<string>} */ static get observedAttributes(): Array<string>; /** * Draws the component for the route. * @returns {DocumentFragment} */ draw(): DocumentFragment; }