Safe Haskell | None |
---|---|
Language | Haskell2010 |
- js_checkFont :: FontLoader -> JSString -> JSString -> IO Bool
- checkFont :: (MonadIO m, ToJSString font, ToJSString text) => FontLoader -> font -> text -> m Bool
- checkFont_ :: (MonadIO m, ToJSString font, ToJSString text) => FontLoader -> font -> text -> m ()
- js_loadFont :: FontLoader -> Nullable Dictionary -> IO ()
- loadFont :: (MonadIO m, IsDictionary params) => FontLoader -> Maybe params -> m ()
- js_notifyWhenFontsReady :: FontLoader -> Nullable VoidCallback -> IO ()
- notifyWhenFontsReady :: MonadIO 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
- js_getLoading :: FontLoader -> IO Bool
- getLoading :: MonadIO m => FontLoader -> m Bool
- newtype FontLoader = FontLoader {}
- gTypeFontLoader :: GType
Documentation
js_checkFont :: FontLoader -> JSString -> JSString -> IO Bool Source #
checkFont :: (MonadIO m, ToJSString font, ToJSString text) => FontLoader -> font -> text -> m Bool Source #
checkFont_ :: (MonadIO m, ToJSString font, ToJSString text) => FontLoader -> font -> text -> m () Source #
js_loadFont :: FontLoader -> Nullable Dictionary -> IO () Source #
loadFont :: (MonadIO m, IsDictionary params) => FontLoader -> Maybe params -> m () Source #
js_notifyWhenFontsReady :: FontLoader -> Nullable VoidCallback -> IO () Source #
notifyWhenFontsReady :: MonadIO m => FontLoader -> Maybe VoidCallback -> m () Source #
js_getLoading :: FontLoader -> IO Bool Source #
newtype FontLoader Source #
Functions for this inteface are in GHCJS.DOM.FontLoader. Base interface functions are in: