Introduce DropDowns...

By the way, someone surely should cleanup this code...
This commit is contained in:
uwap 2017-09-17 04:13:31 +02:00
parent 021eaac0a2
commit eb96d9d511
5 changed files with 58 additions and 40 deletions

View file

@ -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 = {