import { css, html, LitElement, customElement } from '@umbraco-cms/backoffice/external/lit'; import { UmbTextStyles } from '@umbraco-cms/backoffice/style'; import { UmbElementMixin } from '@umbraco-cms/backoffice/element-api'; @customElement('umb-dashboard2') export class UmbDashboard2Element extends UmbElementMixin(LitElement) { constructor() { super(); } override render() { return html`

Link to modal route

This page only shows how to link to the routed modal that is placed on a tab on the "Modal Dashboard". Clicking this link will not load the slots inside the modal, however, going to the "Modal Dashboard", clicking on tab 2 and opening the modal from there will work.

Open Modal Route
`; } static override styles = [UmbTextStyles, css``]; } export default UmbDashboard2Element; declare global { interface HTMLElementTagNameMap { 'umb-dashboard2': UmbDashboard2Element; } }