toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-browser
/
web.fonts
/
FontFaceSet
Font
Face
Set
sealed
external
interface
FontFaceSet
:
EventTarget
,
MutableSetLike
<
FontFace
>
(
source
)
MDN Reference
Members
Properties
loading
Done
Event
Link copied to clipboard
abstract
val
loadingDoneEvent
:
EventInstance
<
FontFaceSetLoadEvent
,
FontFaceSet
,
FontFaceSet
>
MDN Reference
loading
Error
Event
Link copied to clipboard
abstract
val
loadingErrorEvent
:
EventInstance
<
FontFaceSetLoadEvent
,
FontFaceSet
,
FontFaceSet
>
MDN Reference
loading
Event
Link copied to clipboard
abstract
val
loadingEvent
:
EventInstance
<
FontFaceSetLoadEvent
,
FontFaceSet
,
FontFaceSet
>
MDN Reference
onloading
Link copied to clipboard
abstract
var
onloading
:
EventHandler
<
FontFaceSetLoadEvent
,
FontFaceSet
,
FontFaceSet
>
?
MDN Reference
onloadingdone
Link copied to clipboard
abstract
var
onloadingdone
:
EventHandler
<
FontFaceSetLoadEvent
,
FontFaceSet
,
FontFaceSet
>
?
MDN Reference
onloadingerror
Link copied to clipboard
abstract
var
onloadingerror
:
EventHandler
<
FontFaceSetLoadEvent
,
FontFaceSet
,
FontFaceSet
>
?
MDN Reference
ready
Link copied to clipboard
abstract
val
ready
:
Promise
<
FontFaceSet
>
MDN Reference
size
Link copied to clipboard
abstract
override
val
size
:
Int
status
Link copied to clipboard
abstract
val
status
:
FontFaceSetLoadStatus
MDN Reference
Functions
add
Link copied to clipboard
abstract
fun
add
(
value
:
FontFace
)
check
Link copied to clipboard
abstract
fun
check
(
font
:
String
,
text
:
String
=
definedExternally
)
:
Boolean
MDN Reference
clear
Link copied to clipboard
abstract
fun
clear
(
)
delete
Link copied to clipboard
abstract
fun
delete
(
value
:
FontFace
)
:
Boolean
dispatch
Event
Link copied to clipboard
fun
dispatchEvent
(
event
:
Event
)
:
Boolean
entries
Link copied to clipboard
abstract
fun
entries
(
)
:
JsIterator
<
JsTuple2
<
FontFace
,
FontFace
>
>
for
Each
Link copied to clipboard
abstract
fun
forEach
(
action
:
(
item
:
FontFace
)
->
Unit
)
get
Link copied to clipboard
open
operator
fun
get
(
key
:
Symbol.iterator
)
:
(
)
->
JsIterator
<
FontFace
>
has
Link copied to clipboard
abstract
override
fun
has
(
key
:
FontFace
)
:
Boolean
iterator
Link copied to clipboard
open
inline operator
fun
iterator
(
)
:
Iterator
<
FontFace
>
keys
Link copied to clipboard
abstract
fun
keys
(
)
:
JsIterator
<
FontFace
>
load
Link copied to clipboard
abstract
suspend
fun
load
(
font
:
String
,
text
:
String
=
definedExternally
)
:
ReadonlyArray
<
FontFace
>
MDN Reference
load
Async
Link copied to clipboard
abstract
fun
loadAsync
(
font
:
String
,
text
:
String
=
definedExternally
)
:
Promise
<
ReadonlyArray
<
FontFace
>
>
values
Link copied to clipboard
abstract
fun
values
(
)
:
JsIterator
<
FontFace
>