Added basic category chooser UI

This commit is contained in:
Ajay Ramachandran
2020-04-02 21:26:13 -04:00
parent b6c243236b
commit 6ea87d7cd0
7 changed files with 171 additions and 0 deletions

View File

@@ -5,6 +5,7 @@ import * as CompileConfig from "../config.json";
(<any> window).SB = Config;
import Utils from "./utils";
import CategoryChooser from "./render/CategoryChooser";
var utils = new Utils();
window.addEventListener('DOMContentLoaded', init);
@@ -164,6 +165,9 @@ async function init() {
});
break;
case "react-CategoryChooserComponent":
new CategoryChooser(optionsElements[i]);
break;
}
}