Search
Preparing search index...
The search index is not available
@kano/code
Options
All
Public
Public/Protected
All
Inherited
Menu
Globals
FileUpload
Class FileUpload
Hierarchy
Plugin
FileUpload
Index
Constructors
constructor
Accessors
on
Did
Upload
Methods
_animate
Drag
Enter
_animate
Drag
Leave
_animate
Drop
_bind
Events
_on
Dragenter
_on
Dragleave
_on
Drop
_on
File
Dropped
_unbind
Events
add
Overlay
on
Creation
Export
on
Creation
Import
on
Dispose
on
Export
on
Import
on
Inject
on
Install
stop
_on
Dragover
_read
File
Constructors
constructor
new
File
Upload
(
targetEl
:
HTMLElement
, overlayProvider
:
IFileDropOverlayProvider
)
:
FileUpload
Parameters
targetEl:
HTMLElement
overlayProvider:
IFileDropOverlayProvider
Returns
FileUpload
Accessors
on
Did
Upload
on
Did
Upload
:
Methods
_animate
Drag
Enter
_animate
Drag
Enter
(
)
:
void
Returns
void
_animate
Drag
Leave
_animate
Drag
Leave
(
)
:
void
Returns
void
_animate
Drop
_animate
Drop
(
)
:
void
Returns
void
_bind
Events
_bind
Events
(
)
:
void
Returns
void
_on
Dragenter
_on
Dragenter
(
e
:
DragEvent
)
:
void
Parameters
e:
DragEvent
Returns
void
_on
Dragleave
_on
Dragleave
(
e
:
DragEvent
)
:
void
Parameters
e:
DragEvent
Returns
void
_on
Drop
_on
Drop
(
e
:
DragEvent
)
:
void
Parameters
e:
DragEvent
Returns
void
_on
File
Dropped
_on
File
Dropped
(
file
:
IDroppedFile
)
:
void
Parameters
file:
IDroppedFile
Returns
void
_unbind
Events
_unbind
Events
(
)
:
void
Returns
void
add
Overlay
add
Overlay
(
)
:
void
Returns
void
on
Creation
Export
on
Creation
Export
(
data
:
any
)
:
any
Parameters
data:
any
Returns
any
on
Creation
Import
on
Creation
Import
(
)
:
void
Returns
void
on
Dispose
on
Dispose
(
)
:
void
Returns
void
on
Export
on
Export
(
data
:
any
)
:
any
Parameters
data:
any
Returns
any
on
Import
on
Import
(
)
:
void
Returns
void
on
Inject
on
Inject
(
)
:
void
Returns
void
on
Install
on
Install
(
editor
:
Editor
)
:
void
Parameters
editor:
Editor
Returns
void
stop
stop
(
)
:
void
Returns
void
Static
_on
Dragover
_on
Dragover
(
e
:
any
)
:
void
Parameters
e:
any
Returns
void
Static
_read
File
_read
File
(
f
:
Blob
)
:
Promise
<
string
|
ArrayBuffer
>
Parameters
f:
Blob
Returns
Promise
<
string
|
ArrayBuffer
>
Globals
File
Upload
constructor
on
Did
Upload
_animate
Drag
Enter
_animate
Drag
Leave
_animate
Drop
_bind
Events
_on
Dragenter
_on
Dragleave
_on
Drop
_on
File
Dropped
_unbind
Events
add
Overlay
on
Creation
Export
on
Creation
Import
on
Dispose
on
Export
on
Import
on
Inject
on
Install
stop
_on
Dragover
_read
File
Generated using
TypeDoc