Introduce DropDowns...
By the way, someone surely should cleanup this code...
This commit is contained in:
parent
021eaac0a2
commit
eb96d9d511
5 changed files with 58 additions and 40 deletions
|
|
@ -10,9 +10,12 @@ declare type Topic = {
|
|||
declare type Topics = Map<string,Topic>;
|
||||
|
||||
declare type ControlUI = {
|
||||
type: "toggle",
|
||||
type: "toggle" | "dropDown",
|
||||
text: string,
|
||||
topic: string
|
||||
topic: string,
|
||||
on?: string, // on override for toggle
|
||||
off?: string, // off override for toggle
|
||||
options?: Map<string,any> //options for dropDown
|
||||
};
|
||||
|
||||
declare type Control = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue