This commit is contained in:
Harvey authored and Harvey Zack committed 2022-02-11 11:20:54 +08:00
1 parent 5e9057f060
commit 4d66a8538d
18 files changed
+137 -118

No files matched your search

+7 -2
View File
@@ -92,9 +92,14 @@ type SettingOption = {
current?: boolean;
/**
* Html string or html element of component
* Custom selector list, use in controls
*/
children?: SettingOption[];
selector?: SettingOption[];
/**
* When selector item click, use in controls
*/
onSelect?(selector: Selector, element: HTMLElement): void;
};
type Component = {