Safe Haskell | None |
---|---|
Language | Haskell2010 |
- checkFont :: (MonadDOM m, ToJSString font, ToJSString text) => FontLoader -> font -> text -> m Bool
- checkFont_ :: (MonadDOM m, ToJSString font, ToJSString text) => FontLoader -> font -> text -> m ()
- loadFont :: (MonadDOM m, IsDictionary params) => FontLoader -> Maybe params -> m ()
- notifyWhenFontsReady :: MonadDOM m => FontLoader -> Maybe VoidCallback -> m ()
- loading :: EventName FontLoader Event
- loadingDone :: EventName FontLoader Event
- loadStart :: EventName FontLoader ProgressEvent
- load :: EventName FontLoader UIEvent
- error :: EventName FontLoader UIEvent
- getLoading :: MonadDOM m => FontLoader -> m Bool
- newtype FontLoader = FontLoader {}
- gTypeFontLoader :: JSM GType
Documentation
checkFont :: (MonadDOM m, ToJSString font, ToJSString text) => FontLoader -> font -> text -> m Bool Source #
checkFont_ :: (MonadDOM m, ToJSString font, ToJSString text) => FontLoader -> font -> text -> m () Source #
loadFont :: (MonadDOM m, IsDictionary params) => FontLoader -> Maybe params -> m () Source #
notifyWhenFontsReady :: MonadDOM m => FontLoader -> Maybe VoidCallback -> m () Source #
newtype FontLoader Source #
Functions for this inteface are in JSDOM.FontLoader. Base interface functions are in: