Implemented Sleeve UI. Compiled but untested

This commit is contained in:
danielyxie
2019-01-14 19:34:04 -08:00
parent d9b865ef17
commit bcb231a966
19 changed files with 1058 additions and 573 deletions
+9
View File
@@ -0,0 +1,9 @@
export function getSelectValue(selector: HTMLSelectElement | null): string {
if (selector == null) { return ""; }
return selector[selector.selectedIndex].value;
}
export function getSelectText(selector: HTMLSelectElement | null): string {
if (selector == null) { return ""; }
return selector[selector.selectedIndex].text;
}