UNPKG

@jupyter/web-components

Version:

A component library for building extensions in Jupyter frontends.

39 lines (38 loc) 1.73 kB
import { TreeView } from '@microsoft/fast-foundation'; import { treeViewStyles as styles } from './tree-view.styles.js'; /** * Tree view class * * @public * @tagname jp-tree-view */ declare class JupyterTreeView extends TreeView { /** * Handles click events bubbling up * * @internal */ handleClick(e: Event): boolean | void; } /** * A function that returns a {@link @microsoft/fast-foundation#TreeView} registration for configuring the component with a DesignSystem. * Implements {@link @microsoft/fast-foundation#treeViewTemplate} * * * @public * @remarks * Generates HTML Element: `<jp-tree-view>` * */ export declare const jpTreeView: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<{ baseName: string; baseClass: typeof TreeView; template: import("@microsoft/fast-foundation").FoundationElementTemplate<import("@microsoft/fast-element").ViewTemplate<TreeView, any>, import("@microsoft/fast-foundation").FoundationElementDefinition>; styles: import("@microsoft/fast-foundation").FoundationElementTemplate<import("@microsoft/fast-element").ElementStyles>; }> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<{ baseName: string; baseClass: typeof TreeView; template: import("@microsoft/fast-foundation").FoundationElementTemplate<import("@microsoft/fast-element").ViewTemplate<TreeView, any>, import("@microsoft/fast-foundation").FoundationElementDefinition>; styles: import("@microsoft/fast-foundation").FoundationElementTemplate<import("@microsoft/fast-element").ElementStyles>; }, typeof JupyterTreeView>; export { JupyterTreeView as TreeView, styles as treeViewStyles };