API Docs for: 1.4.4
Show:

ugsEditorPlus.resize Class

Resizes an overlay to fill the window (this is a 1.0, so "fill" is relative -- it gets much bigger)

Item Index

Attributes

Methods

getPath

(
  • fileName
)
String

Returns the path of a linked script file (src) up to the starting position of fileName

Parameters:

  • fileName String

Returns:

String:

hideAce

() Void private

Restores overlay to original position(-ish -- not finished)

Returns:

Void:

setup

() Void private

Initializer: preps handles and sets state varables.

Returns:

Void:

toggle

(
  • dlgElement
)
Void

Resizes passed in DOM element, toggling between fullscreen and "standard" size.

Parameters:

  • dlgElement DOM-element

    handle to Overlay/dialog being resized

Returns:

Void:

Properties

_public

JsonObject

attach public members to this object

FADE_SPEED

Number final

miliseconds to fade in/out editor

SLIDE_SPEED

Number final

miliseconds to slide in/out sidebar (help) panel

Attributes

isBig

Boolean

Hold the current state of the dialog, we'll store this on the element in "data-sized" attribute