# vjs.CaptionsTrack __EXTENDS__: [vjs.TextTrack](vjs.TextTrack.md) __DEFINED IN__: [src/js/tracks.js#L679](https://github.com/videojs/video.js/blob/master/src/js/tracks.js#L679) The track component for managing the hiding and showing of captions --- ## INDEX - [METHODS](#methods) - [activate](#activate) _`inherited`_ - [activeCues](#activecues) _`inherited`_ - [addChild](#addchild-child-options-) _`inherited`_ - [addClass](#addclass-classtoadd-) _`inherited`_ - [adjustFontSize](#adjustfontsize) _`inherited`_ - [buildCSSClass](#buildcssclass) _`inherited`_ - [children](#children) _`inherited`_ - [contentEl](#contentel) _`inherited`_ - [createEl](#createel) _`inherited`_ - [cues](#cues) _`inherited`_ - [deactivate](#deactivate) _`inherited`_ - [dflt](#dflt) _`inherited`_ - [dimensions](#dimensions-width-height-) _`inherited`_ - [disable](#disable) _`inherited`_ - [dispose](#dispose) _`inherited`_ - [el](#el) _`inherited`_ - [getChild](#getchild-name-) _`inherited`_ - [getChildById](#getchildbyid-id-) _`inherited`_ - [height](#height-num-skiplisteners-) _`inherited`_ - [hide](#hide) _`inherited`_ - [id](#id) _`inherited`_ - [init](#init-player-options-) _`inherited`_ - [initChildren](#initchildren) _`inherited`_ - [kind](#kind) _`inherited`_ - [label](#label) _`inherited`_ - [language](#language) _`inherited`_ - [mode](#mode) _`inherited`_ - [name](#name) _`inherited`_ - [off](#off-type-fn-) _`inherited`_ - [on](#on-type-fn-) _`inherited`_ - [one](#one-type-fn-) _`inherited`_ - [options](#options-obj-) _`inherited`_ - [player](#player) _`inherited`_ - [ready](#ready-fn-) _`inherited`_ - [readyState](#readystate) _`inherited`_ - [removeChild](#removechild-component-) _`inherited`_ - [removeClass](#removeclass-classtoremove-) _`inherited`_ - [show](#show) _`inherited`_ - [src](#src) _`inherited`_ - [title](#title) _`inherited`_ - [trigger](#trigger-type-event-) _`inherited`_ - [triggerReady](#triggerready) _`inherited`_ - [width](#width-num-skiplisteners-) _`inherited`_ - [EVENTS](#events) - [resize](#resize-event) _`inherited`_ --- ## METHODS ### activate() > Turn on cue tracking. Tracks that are showing OR hidden are active. _inherited from_: [src/js/tracks.js#L385](https://github.com/videojs/video.js/blob/master/src/js/tracks.js#L385) --- ### activeCues() > Get the track active cues ##### RETURNS: * `Array` _inherited from_: [src/js/tracks.js#L264](https://github.com/videojs/video.js/blob/master/src/js/tracks.js#L264) --- ### addChild( child, [options] ) > Adds a child component inside this component > > myComponent.el(); > // ->
> myComonent.children(); > // [empty array] > > var myButton = myComponent.addChild('MyButton'); > // ->