Archived
Template
1
Fork 0
This repository has been archived on 2024-09-04. You can view files and clone it, but cannot push or open issues or pull requests.
Contour/public/@shoelace-style/shoelace/cdn/components/tab-panel/tab-panel.component.d.ts
2024-09-05 00:39:25 -04:00

26 lines
856 B
TypeScript
Executable file

import ShoelaceElement from '../../internal/shoelace-element.js';
import type { CSSResultGroup } from 'lit';
/**
* @summary Tab panels are used inside [tab groups](/components/tab-group) to display tabbed content.
* @documentation https://shoelace.style/components/tab-panel
* @status stable
* @since 2.0
*
* @slot - The tab panel's content.
*
* @csspart base - The component's base wrapper.
*
* @cssproperty --padding - The tab panel's padding.
*/
export default class SlTabPanel extends ShoelaceElement {
static styles: CSSResultGroup;
private readonly attrId;
private readonly componentId;
/** The tab panel's name. */
name: string;
/** When true, the tab panel will be shown. */
active: boolean;
connectedCallback(): void;
handleActiveChange(): void;
render(): import("lit-html").TemplateResult<1>;
}