This commit is contained in:
Harvey authored and Harvey Zack committed 2022-02-11 11:20:54 +08:00
1 parent 17f79d0b22
commit 7bb8c3d0e5
4 files changed
+182 -16

No files matched your search

+3 -3
View File
@@ -89,15 +89,15 @@ type SettingOption = {
/**
* Whether the default is selected
*/
current?: boolean;
default?: boolean;
/**
* Custom selector list, use in controls
* Custom selector list
*/
selector?: SettingOption[];
/**
* When selector item click, use in controls
* When selector item click
*/
onSelect?(selector: SettingOption, element: HTMLElement, event: Event): void;
};