Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- 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:
Instances
PToJSVal FontFaceSet Source # | |
Defined in JSDOM.Types pToJSVal :: FontFaceSet -> JSVal # | |
PFromJSVal FontFaceSet Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> FontFaceSet # | |
ToJSVal FontFaceSet Source # | |
Defined in JSDOM.Types toJSVal :: FontFaceSet -> JSM JSVal # toJSValListOf :: [FontFaceSet] -> JSM JSVal # | |
FromJSVal FontFaceSet Source # | |
Defined in JSDOM.Types fromJSVal :: JSVal -> JSM (Maybe FontFaceSet) # fromJSValUnchecked :: JSVal -> JSM FontFaceSet # fromJSValListOf :: JSVal -> JSM (Maybe [FontFaceSet]) # fromJSValUncheckedListOf :: JSVal -> JSM [FontFaceSet] # | |
MakeObject FontFaceSet Source # | |
Defined in JSDOM.Types makeObject :: FontFaceSet -> JSM Object # | |
IsEventTarget FontFaceSet Source # | |
Defined in JSDOM.Types | |
IsGObject FontFaceSet Source # | |
Defined in JSDOM.Types typeGType :: FontFaceSet -> JSM GType |