34 lines
363 B
JavaScript
34 lines
363 B
JavaScript
|
|
|
||
|
|
|
||
|
|
import icon from "./fileChooser.file.icon.js";
|
||
|
|
|
||
|
|
import label from "../label.js";
|
||
|
|
|
||
|
|
import checkbox from "/elements/checkbox.js";
|
||
|
|
|
||
|
|
export default class file{
|
||
|
|
|
||
|
|
margin = 10;
|
||
|
|
|
||
|
|
|
||
|
|
filename;
|
||
|
|
|
||
|
|
path;
|
||
|
|
|
||
|
|
create() {
|
||
|
|
|
||
|
|
var filename = this.filename;
|
||
|
|
|
||
|
|
this.label.text = filename;
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
checkbox = new checkbox();
|
||
|
|
|
||
|
|
icon = new icon();
|
||
|
|
|
||
|
|
label = new label();
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
}
|