forked from MapComplete/MapComplete
Full code cleanup
This commit is contained in:
parent
3a4a2a2016
commit
fa971ffbbf
300 changed files with 16352 additions and 19284 deletions
|
@ -12,8 +12,10 @@ export default class FileSelectorButton extends InputElement<FileList> {
|
|||
private readonly allowMultiple: boolean;
|
||||
|
||||
constructor(label: BaseUIElement, options?:
|
||||
{ acceptType: "image/*" | string,
|
||||
allowMultiple: true | boolean}) {
|
||||
{
|
||||
acceptType: "image/*" | string,
|
||||
allowMultiple: true | boolean
|
||||
}) {
|
||||
super();
|
||||
this._label = label;
|
||||
this._acceptType = options?.acceptType ?? "image/*";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue