package.dist.vscode-collapsible.vscode-collapsible.d.ts Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of elements Show documentation
Show all versions of elements Show documentation
Webcomponents for creating Visual Studio Code extensions
The newest version!
import { TemplateResult } from 'lit';
import { VscElement } from '../includes/VscElement.js';
/**
* @slot - Main content.
* @slot actions - You can place any action icon in this slot in the header, but it's also possible to use any HTML element in it. It's only visible when the component is open.
* @slot decorations - The elements placed in the decorations slot are always visible.
*
* @cssprop --vscode-sideBar-background - Background color
* @cssprop --vscode-focusBorder - Focus border color
* @cssprop --vscode-font-family - Header font family
* @cssprop --vscode-sideBarSectionHeader-background - Header background
* @cssprop --vscode-icon-foreground - Arrow icon color
* @cssprop --vscode-sideBarTitle-foreground - Header font color
*/
export declare class VscodeCollapsible extends VscElement {
static styles: import("lit").CSSResultGroup;
/** Component heading text */
title: string;
/** Less prominent text than the title in the header */
description: string;
open: boolean;
private _onHeaderClick;
private _onHeaderKeyDown;
render(): TemplateResult;
}
declare global {
interface HTMLElementTagNameMap {
'vscode-collapsible': VscodeCollapsible;
}
}
//# sourceMappingURL=vscode-collapsible.d.ts.map