# vjs.FullscreenToggle __EXTENDS__: [vjs.Button](vjs.Button.md) __DEFINED IN__: [src/js/control-bar/fullscreen-toggle.js#L8](https://github.com/videojs/video.js/blob/master/src/js/control-bar/fullscreen-toggle.js#L8) Toggle fullscreen video --- ## INDEX - [METHODS](#methods) - [init](#init-player-options-) - [addChild](#addchild-child-options-) _`inherited`_ - [addClass](#addclass-classtoadd-) _`inherited`_ - [buildCSSClass](#buildcssclass) _`inherited`_ - [children](#children) _`inherited`_ - [contentEl](#contentel) _`inherited`_ - [createEl](#createel-tagname-attributes-) _`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`_ - [initChildren](#initchildren) _`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`_ - [removeChild](#removechild-component-) _`inherited`_ - [removeClass](#removeclass-classtoremove-) _`inherited`_ - [show](#show) _`inherited`_ - [trigger](#trigger-type-event-) _`inherited`_ - [triggerReady](#triggerready) _`inherited`_ - [width](#width-num-skiplisteners-) _`inherited`_ - [EVENTS](#events) - [resize](#resize-event) _`inherited`_ --- ## METHODS ### addChild( child, [options] ) > Adds a child component inside this component > > myComponent.el(); > // ->
> myComonent.children(); > // [empty array] > > var myButton = myComponent.addChild('MyButton'); > // ->