Safe Haskell | None |
---|---|
Language | Haskell2010 |
- js_newSpeechSynthesisUtterance :: JSString -> IO SpeechSynthesisUtterance
- newSpeechSynthesisUtterance :: (MonadIO m, ToJSString text) => text -> m SpeechSynthesisUtterance
- js_setText :: SpeechSynthesisUtterance -> JSString -> IO ()
- setText :: (MonadIO m, ToJSString val) => SpeechSynthesisUtterance -> val -> m ()
- js_getText :: SpeechSynthesisUtterance -> IO JSString
- getText :: (MonadIO m, FromJSString result) => SpeechSynthesisUtterance -> m result
- js_setLang :: SpeechSynthesisUtterance -> JSString -> IO ()
- setLang :: (MonadIO m, ToJSString val) => SpeechSynthesisUtterance -> val -> m ()
- js_getLang :: SpeechSynthesisUtterance -> IO JSString
- getLang :: (MonadIO m, FromJSString result) => SpeechSynthesisUtterance -> m result
- js_setVoice :: SpeechSynthesisUtterance -> Nullable SpeechSynthesisVoice -> IO ()
- setVoice :: MonadIO m => SpeechSynthesisUtterance -> Maybe SpeechSynthesisVoice -> m ()
- js_getVoice :: SpeechSynthesisUtterance -> IO (Nullable SpeechSynthesisVoice)
- getVoice :: MonadIO m => SpeechSynthesisUtterance -> m (Maybe SpeechSynthesisVoice)
- getVoiceUnsafe :: (MonadIO m, HasCallStack) => SpeechSynthesisUtterance -> m SpeechSynthesisVoice
- getVoiceUnchecked :: MonadIO m => SpeechSynthesisUtterance -> m SpeechSynthesisVoice
- js_setVolume :: SpeechSynthesisUtterance -> Float -> IO ()
- setVolume :: MonadIO m => SpeechSynthesisUtterance -> Float -> m ()
- js_getVolume :: SpeechSynthesisUtterance -> IO Float
- getVolume :: MonadIO m => SpeechSynthesisUtterance -> m Float
- js_setRate :: SpeechSynthesisUtterance -> Float -> IO ()
- setRate :: MonadIO m => SpeechSynthesisUtterance -> Float -> m ()
- js_getRate :: SpeechSynthesisUtterance -> IO Float
- getRate :: MonadIO m => SpeechSynthesisUtterance -> m Float
- js_setPitch :: SpeechSynthesisUtterance -> Float -> IO ()
- setPitch :: MonadIO m => SpeechSynthesisUtterance -> Float -> m ()
- js_getPitch :: SpeechSynthesisUtterance -> IO Float
- getPitch :: MonadIO 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 :: GType
Documentation
newSpeechSynthesisUtterance :: (MonadIO m, ToJSString text) => text -> m SpeechSynthesisUtterance Source #
js_setText :: SpeechSynthesisUtterance -> JSString -> IO () Source #
setText :: (MonadIO m, ToJSString val) => SpeechSynthesisUtterance -> val -> m () Source #
getText :: (MonadIO m, FromJSString result) => SpeechSynthesisUtterance -> m result Source #
js_setLang :: SpeechSynthesisUtterance -> JSString -> IO () Source #
setLang :: (MonadIO m, ToJSString val) => SpeechSynthesisUtterance -> val -> m () Source #
getLang :: (MonadIO m, FromJSString result) => SpeechSynthesisUtterance -> m result Source #
js_setVoice :: SpeechSynthesisUtterance -> Nullable SpeechSynthesisVoice -> IO () Source #
setVoice :: MonadIO m => SpeechSynthesisUtterance -> Maybe SpeechSynthesisVoice -> m () Source #
getVoice :: MonadIO m => SpeechSynthesisUtterance -> m (Maybe SpeechSynthesisVoice) Source #
getVoiceUnsafe :: (MonadIO m, HasCallStack) => SpeechSynthesisUtterance -> m SpeechSynthesisVoice Source #
js_setVolume :: SpeechSynthesisUtterance -> Float -> IO () Source #
js_setRate :: SpeechSynthesisUtterance -> Float -> IO () Source #
js_setPitch :: SpeechSynthesisUtterance -> Float -> IO () Source #
newtype SpeechSynthesisUtterance Source #
Functions for this inteface are in GHCJS.DOM.SpeechSynthesisUtterance. Base interface functions are in: