Class: FullScreenControlView

Controls.FullScreen FullScreenControlView

FullScreenControlView

new FullScreenControlView()

modules/controls/fullScreen/view.js, line 34
this control button switches the browser from normal screen to fullscreen and back - or for iframes: opens the iframe url in a _blank
Fires:
Listens to Events:
  • Controls.FullScreen#event:changeEnableText
  • Controls.FullScreen#event:changeDisableText
  • Controls.FullScreen#event:changeToggleText
  • Controls.FullScreen#event:changeState

Extends

Methods

closeFullscreen(){Boolean}

modules/controls/fullScreen/view.js, line 162
disables fullscreen using browser tools if fullscreen was enabled before using the same browser tools
Returns:
true: fullscreen has been disabled, if false: unable to disable fullscreen

openFullscreen(){Boolean}

modules/controls/fullScreen/view.js, line 135
enables fullscreen using browser tools
Returns:
true: fullscreen has been enabled, if false: unable to enable fullscreen

render(){this}

modules/controls/fullScreen/view.js, line 69
render function for the default UiStyle

renderToToolbar(){Void}

modules/controls/fullScreen/view.js, line 98
render function for the table UiStyle

renderToToolbarInit(){Void}

modules/controls/fullScreen/view.js, line 84
initial render function for the table UiStyle - this is necessary because $el has classes attached that are styled for red buttons (which are not used in table style)

toggleFullscreen(){Void}

modules/controls/fullScreen/view.js, line 112
toggles between fullscreen and normal screen, sets the state of the model true/false
Fires:
  • Controls.FullScreen#event:changeState