First commit
This commit is contained in:
51
application/elements/fileChooser/fileChooser.js
Normal file
51
application/elements/fileChooser/fileChooser.js
Normal file
@@ -0,0 +1,51 @@
|
||||
|
||||
import files from "./fileChooser.files.js";
|
||||
|
||||
import selectButton from "./fileChooser.select.button.js";
|
||||
|
||||
export default class fileChooser{
|
||||
|
||||
//selector = "#application";
|
||||
|
||||
zIndex = 1000;
|
||||
|
||||
left = 0;
|
||||
|
||||
top = 0;
|
||||
|
||||
width = "100vw"
|
||||
|
||||
height = "100vh"
|
||||
|
||||
flexDirection = "column"
|
||||
|
||||
display = "none"
|
||||
|
||||
|
||||
|
||||
#ifdef LIGHT
|
||||
|
||||
background = "white"
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
files = new files();
|
||||
|
||||
selectButton = new selectButton();
|
||||
|
||||
open() {
|
||||
|
||||
this.files.open();
|
||||
|
||||
}
|
||||
|
||||
async create() {
|
||||
|
||||
this.hide();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user