toggle menu
kilua-project
0.0.15
common
switch theme
search in API
kilua-dom
/
web.dom.clipboard
/
Clipboard
Clipboard
abstract
class
Clipboard
:
EventTarget
,
JsAny
Exposes the JavaScript
Clipboard
to Kotlin
Members
Constructors
Clipboard
Link copied to clipboard
constructor
(
)
Functions
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
Link copied to clipboard
fun
read
(
)
:
Promise
<
*
>
read
Text
Link copied to clipboard
fun
readText
(
)
:
Promise
<
*
>
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
)
write
Link copied to clipboard
fun
write
(
data
:
DataTransfer
)
:
Promise
<
Nothing
?
>
write
Text
Link copied to clipboard
fun
writeText
(
data
:
String
)
:
Promise
<
Nothing
?
>