FontFaceSet
[<Interface>]
type FontFaceSet =
abstract member onloading: (FontFaceSetLoadEvent -> unit) option with get, set
abstract member onloadingdone: (FontFaceSetLoadEvent -> unit) option with get, set
abstract member onloadingerror: (FontFaceSetLoadEvent -> unit) option with get, set
abstract member ready: Promise<FontFaceSet>
abstract member status: FontFaceSetLoadStatus
abstract member add (value: FontFace) : FontFaceSet
abstract member addEventListener (type: string, listener: EventListenerOrEventListenerObject, ?options: U2<bool,AddEventListenerOptions>) : unit
abstract member addEventListener<'E> (type: typekeyof<FontFaceSetEventMap,'E>, listener: 'E -> obj, ?options: U2<bool,AddEventListenerOptions>) : unit
abstract member check (font: string, ?text: string) : bool
abstract member forEach (callbackfn: Callbackfn, ?thisArg: obj) : unit
abstract member load (font: string, ?text: string) : Promise<FontFace array>
abstract member removeEventListener (type: string, listener: EventListenerOrEventListenerObject, ?options: U2<bool,EventListenerOptions>) : unit
abstract member removeEventListener<'E> (type: typekeyof<FontFaceSetEventMap,'E>, listener: 'E -> obj, ?options: U2<bool,EventListenerOptions>) : unit
abstract member symmetricDifference<'U> (other: ReadonlySetLike<'U>) : Set<U2<'U,FontFace>>
abstract member union<'U> (other: ReadonlySetLike<'U>) : Set<U2<'U,FontFace>>
| |
|---|
| Assembly | Xantham.Fable.Core.TS |
| Implements | Set<FontFace>, EventTarget |
Declared inside
Properties
abstract member onloading: (FontFaceSetLoadEvent -> unit) option with get, set
abstract member onloadingdone: (FontFaceSetLoadEvent -> unit) option with get, set
abstract member onloadingerror: (FontFaceSetLoadEvent -> unit) option with get, set
abstract member ready: Promise<FontFaceSet>
abstract member status: FontFaceSetLoadStatus
Methods
abstract member add (value: FontFace) : FontFaceSet
abstract member addEventListener (type: string, listener: EventListenerOrEventListenerObject, ?options: U2<bool,AddEventListenerOptions>) : unit
abstract member addEventListener<'E> (type: typekeyof<FontFaceSetEventMap,'E>, listener: 'E -> obj, ?options: U2<bool,AddEventListenerOptions>) : unit
abstract member check (font: string, ?text: string) : bool
abstract member forEach (callbackfn: Callbackfn, ?thisArg: obj) : unit
abstract member load (font: string, ?text: string) : Promise<FontFace array>
abstract member removeEventListener (type: string, listener: EventListenerOrEventListenerObject, ?options: U2<bool,EventListenerOptions>) : unit
abstract member removeEventListener<'E> (type: typekeyof<FontFaceSetEventMap,'E>, listener: 'E -> obj, ?options: U2<bool,EventListenerOptions>) : unit
abstract member symmetricDifference<'U> (other: ReadonlySetLike<'U>) : Set<U2<'U,FontFace>>
abstract member union<'U> (other: ReadonlySetLike<'U>) : Set<U2<'U,FontFace>>