Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- addCue :: (MonadDOM m, IsTextTrackCue cue) => TextTrack -> cue -> m ()
- removeCue :: (MonadDOM m, IsTextTrackCue cue) => TextTrack -> cue -> m ()
- addRegion :: MonadDOM m => TextTrack -> Maybe VTTRegion -> m ()
- removeRegion :: MonadDOM m => TextTrack -> Maybe VTTRegion -> m ()
- getId :: (MonadDOM m, FromJSString result) => TextTrack -> m result
- setKind :: MonadDOM m => TextTrack -> TextTrackKind -> m ()
- getKind :: MonadDOM m => TextTrack -> m TextTrackKind
- getLabel :: (MonadDOM m, FromJSString result) => TextTrack -> m result
- setLanguage :: (MonadDOM m, ToJSString val) => TextTrack -> val -> m ()
- getLanguage :: (MonadDOM m, FromJSString result) => TextTrack -> m result
- getInBandMetadataTrackDispatchType :: (MonadDOM m, FromJSString result) => TextTrack -> m result
- setMode :: MonadDOM m => TextTrack -> TextTrackMode -> m ()
- getMode :: MonadDOM m => TextTrack -> m TextTrackMode
- getCues :: MonadDOM m => TextTrack -> m (Maybe TextTrackCueList)
- getCuesUnsafe :: (MonadDOM m, HasCallStack) => TextTrack -> m TextTrackCueList
- getCuesUnchecked :: MonadDOM m => TextTrack -> m TextTrackCueList
- getActiveCues :: MonadDOM m => TextTrack -> m (Maybe TextTrackCueList)
- getActiveCuesUnsafe :: (MonadDOM m, HasCallStack) => TextTrack -> m TextTrackCueList
- getActiveCuesUnchecked :: MonadDOM m => TextTrack -> m TextTrackCueList
- cueChange :: EventName TextTrack Event
- getRegions :: MonadDOM m => TextTrack -> m VTTRegionList
- getSourceBuffer :: MonadDOM m => TextTrack -> m SourceBuffer
- newtype TextTrack = TextTrack {
- unTextTrack :: JSVal
- gTypeTextTrack :: JSM GType
Documentation
setLanguage :: (MonadDOM m, ToJSString val) => TextTrack -> val -> m () Source #
getLanguage :: (MonadDOM m, FromJSString result) => TextTrack -> m result Source #
getInBandMetadataTrackDispatchType :: (MonadDOM m, FromJSString result) => TextTrack -> m result Source #
getCuesUnsafe :: (MonadDOM m, HasCallStack) => TextTrack -> m TextTrackCueList Source #
getCuesUnchecked :: MonadDOM m => TextTrack -> m TextTrackCueList Source #
getActiveCues :: MonadDOM m => TextTrack -> m (Maybe TextTrackCueList) Source #
getActiveCuesUnsafe :: (MonadDOM m, HasCallStack) => TextTrack -> m TextTrackCueList Source #
getActiveCuesUnchecked :: MonadDOM m => TextTrack -> m TextTrackCueList Source #
getRegions :: MonadDOM m => TextTrack -> m VTTRegionList Source #
getSourceBuffer :: MonadDOM m => TextTrack -> m SourceBuffer Source #
Functions for this inteface are in JSDOM.TextTrack. Base interface functions are in:
Instances
FromJSVal TextTrack Source # | |
PFromJSVal TextTrack Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> TextTrack # | |
PToJSVal TextTrack Source # | |
Defined in JSDOM.Types | |
ToJSVal TextTrack Source # | |
MakeObject TextTrack Source # | |
Defined in JSDOM.Types makeObject :: TextTrack -> JSM Object # | |
IsEventTarget TextTrack Source # | |
Defined in JSDOM.Types | |
IsGObject TextTrack Source # | |
Defined in JSDOM.Types | |
IsTrack TextTrack Source # | |
Defined in JSDOM.Types |