-- | <https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesisEvent.charIndex Mozilla SpeechSynthesisEvent.charIndex documentation> 
getCharIndex :: (MonadDOM m) => SpeechSynthesisEvent -> m Word
getCharIndex self
  = liftDOM (round <$> ((self ^. js "charIndex") >>= valToNumber))
getCharIndex :: (MonadDOM m) => SpeechSynthesisEvent -> m Word
getCharIndex self
  = liftDOM (round <$> ((self ^. js "charIndex") >>= valToNumber))
getCharIndex self
  = liftDOM (round <$> ((self ^. js "charIndex") >>= valToNumber))