Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newSpeechSynthesisUtterance :: (MonadDOM m, ToJSString text) => Maybe text -> m SpeechSynthesisUtterance
- setText :: (MonadDOM m, ToJSString val) => SpeechSynthesisUtterance -> val -> m ()
- getText :: (MonadDOM m, FromJSString result) => SpeechSynthesisUtterance -> m result
- setLang :: (MonadDOM m, ToJSString val) => SpeechSynthesisUtterance -> val -> m ()
- getLang :: (MonadDOM m, FromJSString result) => SpeechSynthesisUtterance -> m result
- setVoice :: MonadDOM m => SpeechSynthesisUtterance -> Maybe SpeechSynthesisVoice -> m ()
- getVoice :: MonadDOM m => SpeechSynthesisUtterance -> m (Maybe SpeechSynthesisVoice)
- getVoiceUnsafe :: (MonadDOM m, HasCallStack) => SpeechSynthesisUtterance -> m SpeechSynthesisVoice
- getVoiceUnchecked :: MonadDOM m => SpeechSynthesisUtterance -> m SpeechSynthesisVoice
- setVolume :: MonadDOM m => SpeechSynthesisUtterance -> Float -> m ()
- getVolume :: MonadDOM m => SpeechSynthesisUtterance -> m Float
- setRate :: MonadDOM m => SpeechSynthesisUtterance -> Float -> m ()
- getRate :: MonadDOM m => SpeechSynthesisUtterance -> m Float
- setPitch :: MonadDOM m => SpeechSynthesisUtterance -> Float -> m ()
- getPitch :: MonadDOM m => SpeechSynthesisUtterance -> m Float
- start :: EventName SpeechSynthesisUtterance Event
- end :: EventName SpeechSynthesisUtterance Event
- error :: EventName SpeechSynthesisUtterance UIEvent
- pause :: EventName SpeechSynthesisUtterance Event
- resume :: EventName SpeechSynthesisUtterance Event
- mark :: EventName SpeechSynthesisUtterance Event
- boundary :: EventName SpeechSynthesisUtterance Event
- newtype SpeechSynthesisUtterance = SpeechSynthesisUtterance {}
- gTypeSpeechSynthesisUtterance :: JSM GType
Documentation
newSpeechSynthesisUtterance :: (MonadDOM m, ToJSString text) => Maybe text -> m SpeechSynthesisUtterance Source #
setText :: (MonadDOM m, ToJSString val) => SpeechSynthesisUtterance -> val -> m () Source #
getText :: (MonadDOM m, FromJSString result) => SpeechSynthesisUtterance -> m result Source #
setLang :: (MonadDOM m, ToJSString val) => SpeechSynthesisUtterance -> val -> m () Source #
getLang :: (MonadDOM m, FromJSString result) => SpeechSynthesisUtterance -> m result Source #
setVoice :: MonadDOM m => SpeechSynthesisUtterance -> Maybe SpeechSynthesisVoice -> m () Source #
getVoice :: MonadDOM m => SpeechSynthesisUtterance -> m (Maybe SpeechSynthesisVoice) Source #
getVoiceUnsafe :: (MonadDOM m, HasCallStack) => SpeechSynthesisUtterance -> m SpeechSynthesisVoice Source #
newtype SpeechSynthesisUtterance Source #
Functions for this inteface are in JSDOM.SpeechSynthesisUtterance. Base interface functions are in:
Instances
PToJSVal SpeechSynthesisUtterance Source # | |
Defined in JSDOM.Types | |
PFromJSVal SpeechSynthesisUtterance Source # | |
Defined in JSDOM.Types | |
ToJSVal SpeechSynthesisUtterance Source # | |
Defined in JSDOM.Types toJSVal :: SpeechSynthesisUtterance -> JSM JSVal # toJSValListOf :: [SpeechSynthesisUtterance] -> JSM JSVal # | |
FromJSVal SpeechSynthesisUtterance Source # | |
Defined in JSDOM.Types | |
MakeObject SpeechSynthesisUtterance Source # | |
Defined in JSDOM.Types | |
IsEventTarget SpeechSynthesisUtterance Source # | |
Defined in JSDOM.Types | |
IsGObject SpeechSynthesisUtterance Source # | |
Defined in JSDOM.Types |