FontsUpdatedEvent

data class FontsUpdatedEvent(font: FontFace?) : Event

Fires whenever a web font is updated. A non-empty font parameter indicates a successfully loaded web font

Constructors

FontsUpdatedEvent
Link copied to clipboard
fun FontsUpdatedEvent(font: FontFace? = null)

Functions

domain
Link copied to clipboard
open override fun domain(): String
Returns domain name for which event was generated.
eventName
Link copied to clipboard
open override fun eventName(): String
Returns event name as described in protocol.

Properties

font
Link copied to clipboard
val font: FontFace? = null
The web font that has loaded.

Sources

jvm source
Link copied to clipboard