Safe Haskell | None |
---|---|
Language | Haskell2010 |
- newFontFaceSet :: MonadDOM m => [FontFace] -> m FontFaceSet
- has :: MonadDOM m => FontFaceSet -> FontFace -> m Bool
- has_ :: MonadDOM m => FontFaceSet -> FontFace -> m ()
- add :: MonadDOM m => FontFaceSet -> FontFace -> m FontFaceSet
- add_ :: MonadDOM m => FontFaceSet -> FontFace -> m ()
- delete :: MonadDOM m => FontFaceSet -> FontFace -> m Bool
- delete_ :: MonadDOM m => FontFaceSet -> FontFace -> m ()
- clear :: MonadDOM m => FontFaceSet -> m ()
- load :: (MonadDOM m, ToJSString font, ToJSString text) => FontFaceSet -> font -> Maybe text -> m [FontFace]
- load_ :: (MonadDOM m, ToJSString font, ToJSString text) => FontFaceSet -> font -> Maybe text -> m ()
- check :: (MonadDOM m, ToJSString font, ToJSString text) => FontFaceSet -> font -> Maybe text -> m Bool
- check_ :: (MonadDOM m, ToJSString font, ToJSString text) => FontFaceSet -> font -> Maybe text -> m ()
- getSize :: MonadDOM m => FontFaceSet -> m Int
- loading :: EventName FontFaceSet Event
- loadingDone :: EventName FontFaceSet Event
- loadingerror :: EventName FontFaceSet onloadingerror
- getReady :: MonadDOM m => FontFaceSet -> m FontFaceSet
- getStatus :: MonadDOM m => FontFaceSet -> m FontFaceSetLoadStatus
- newtype FontFaceSet = FontFaceSet {}
- gTypeFontFaceSet :: JSM GType
Documentation
newFontFaceSet :: MonadDOM m => [FontFace] -> m FontFaceSet Source #
add :: MonadDOM m => FontFaceSet -> FontFace -> m FontFaceSet Source #
clear :: MonadDOM m => FontFaceSet -> m () Source #
load :: (MonadDOM m, ToJSString font, ToJSString text) => FontFaceSet -> font -> Maybe text -> m [FontFace] Source #
load_ :: (MonadDOM m, ToJSString font, ToJSString text) => FontFaceSet -> font -> Maybe text -> m () Source #
check :: (MonadDOM m, ToJSString font, ToJSString text) => FontFaceSet -> font -> Maybe text -> m Bool Source #
check_ :: (MonadDOM m, ToJSString font, ToJSString text) => FontFaceSet -> font -> Maybe text -> m () Source #
loadingerror :: EventName FontFaceSet onloadingerror Source #
getReady :: MonadDOM m => FontFaceSet -> m FontFaceSet Source #
getStatus :: MonadDOM m => FontFaceSet -> m FontFaceSetLoadStatus Source #
newtype FontFaceSet Source #
Functions for this inteface are in JSDOM.FontFaceSet. Base interface functions are in: