26 lines
856 B
TypeScript
Executable file
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>;
|
|
}
|