toggle menu
kilua-project
0.0.17
common
switch theme
search in API
kilua-dom
/
web.files
/
FileReader
File
Reader
open
class
FileReader
:
EventTarget
,
JsAny
Exposes the JavaScript
FileReader
to Kotlin
Members
Constructors
File
Reader
Link copied to clipboard
constructor
(
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
error
Link copied to clipboard
open
val
error
:
JsAny
?
onabort
Link copied to clipboard
var
onabort
:
(
Event
)
->
Unit
?
onerror
Link copied to clipboard
var
onerror
:
(
Event
)
->
Unit
?
onload
Link copied to clipboard
var
onload
:
(
Event
)
->
Unit
?
onloadend
Link copied to clipboard
var
onloadend
:
(
Event
)
->
Unit
?
onloadstart
Link copied to clipboard
var
onloadstart
:
(
ProgressEvent
)
->
Unit
?
onprogress
Link copied to clipboard
var
onprogress
:
(
ProgressEvent
)
->
Unit
?
ready
State
Link copied to clipboard
open
val
readyState
:
Short
result
Link copied to clipboard
open
val
result
:
JsAny
?
Functions
abort
Link copied to clipboard
fun
abort
(
)
add
Event
Listener
Link copied to clipboard
fun
addEventListener
(
type
:
String
,
callback
:
(
Event
)
->
Unit
?
)
fun
addEventListener
(
type
:
String
,
callback
:
EventListener
?
)
fun
addEventListener
(
type
:
String
,
callback
:
(
Event
)
->
Unit
?
,
options
:
Boolean
)
fun
addEventListener
(
type
:
String
,
callback
:
(
Event
)
->
Unit
?
,
options
:
AddEventListenerOptions
)
fun
addEventListener
(
type
:
String
,
callback
:
EventListener
?
,
options
:
Boolean
)
fun
addEventListener
(
type
:
String
,
callback
:
EventListener
?
,
options
:
AddEventListenerOptions
)
dispatch
Event
Link copied to clipboard
fun
dispatchEvent
(
event
:
Event
)
:
Boolean
read
As
Array
Buffer
Link copied to clipboard
fun
readAsArrayBuffer
(
blob
:
Blob
)
read
As
Binary
String
Link copied to clipboard
fun
readAsBinaryString
(
blob
:
Blob
)
read
As
Data
URL
Link copied to clipboard
fun
readAsDataURL
(
blob
:
Blob
)
read
As
Text
Link copied to clipboard
fun
readAsText
(
blob
:
Blob
,
label
:
String
)
remove
Event
Listener
Link copied to clipboard
fun
removeEventListener
(
type
:
String
,
callback
:
(
Event
)
->
Unit
?
)
fun
removeEventListener
(
type
:
String
,
callback
:
EventListener
?
)
fun
removeEventListener
(
type
:
String
,
callback
:
(
Event
)
->
Unit
?
,
options
:
Boolean
)
fun
removeEventListener
(
type
:
String
,
callback
:
(
Event
)
->
Unit
?
,
options
:
EventListenerOptions
)
fun
removeEventListener
(
type
:
String
,
callback
:
EventListener
?
,
options
:
Boolean
)
fun
removeEventListener
(
type
:
String
,
callback
:
EventListener
?
,
options
:
EventListenerOptions
)