You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
2.3 KiB
TypeScript

import { SvelteComponentTyped } from "svelte";
declare const __propDef: {
props: {
[x: string]: any;
/** Enable tree-view selection.*/
selection?: boolean | undefined;
/** Enable selection of multiple items.*/
multiple?: boolean | undefined;
/** Provide classes to set the tree width.*/
width?: string | undefined;
/** Provide classes to set the vertical spacing between items.*/
spacing?: string | undefined;
/** Set open by default on load.*/
open?: boolean | undefined;
/** Set the tree disabled state*/
disabled?: boolean | undefined;
/** Provide classes to set the tree item padding styles.*/
padding?: string | undefined;
/** Provide classes to set the tree children indentation*/
indent?: string | undefined;
/** Provide classes to set the tree item hover styles.*/
hover?: string | undefined;
/** Provide classes to set the tree item rounded styles.*/
rounded?: string | undefined;
/** Set the rotation of the item caret in the open state.*/
caretOpen?: string | undefined;
/** Set the rotation of the item caret in the closed state.*/
caretClosed?: string | undefined;
hyphenOpacity?: string | undefined;
/** Provide arbitrary classes to the tree item summary region.*/
regionSummary?: string | undefined;
/** Provide arbitrary classes to the symbol icon region.*/
regionSymbol?: string | undefined;
/** Provide arbitrary classes to the children region.*/
regionChildren?: string | undefined;
/** Provide the ARIA labelledby value.*/
labelledby?: string | undefined;
expandAll?: (() => void) | undefined;
collapseAll?: (() => void) | undefined;
};
events: {
[evt: string]: CustomEvent<any>;
};
slots: {
default: {};
};
};
export type TreeViewProps = typeof __propDef.props;
export type TreeViewEvents = typeof __propDef.events;
export type TreeViewSlots = typeof __propDef.slots;
export default class TreeView extends SvelteComponentTyped<TreeViewProps, TreeViewEvents, TreeViewSlots> {
get expandAll(): () => void;
get collapseAll(): () => void;
}
export {};