UNPKG

duoyun-ui

Version:

A lightweight desktop UI component library, implemented using Gem

19 lines (18 loc) 861 B
import type { HTMLAttributes } from "svelte/elements"; import { DuoyunTreeElement } from '../elements/tree'; export * from '../elements/tree'; interface DyTreeProps extends HTMLAttributes<HTMLElement> { /**@deprecated */ data?: DuoyunTreeElement['data']; items?: DuoyunTreeElement['items']; highlights?: DuoyunTreeElement['highlights']; 'on:itemclick'?: (event: CustomEvent<Parameters<DuoyunTreeElement['itemclick']>[0]>) => void; 'on:itemcontextmenu'?: (event: CustomEvent<Parameters<DuoyunTreeElement['itemcontextmenu']>[0]>) => void; 'on:expand'?: (event: CustomEvent<Parameters<DuoyunTreeElement['expand']>[0]>) => void; 'on:collapse'?: (event: CustomEvent<Parameters<DuoyunTreeElement['collapse']>[0]>) => void; } declare module "svelte/elements" { interface SvelteHTMLElements { 'dy-tree': DyTreeProps; } }