ResizerPlugin
Defined in: plugins/ResizerPlugin.ts:47
Interface for Resizer module.
Extends
Section titled “Extends”Implements
Section titled “Implements”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ResizerPlugin(
id
):ResizerPlugin
Defined in: plugins/Plugin.ts:48
Parameters
Section titled “Parameters”string
= 'Plugin'
Returns
Section titled “Returns”ResizerPlugin
Inherited from
Section titled “Inherited from”Properties
Section titled “Properties”
readonly
id:"resizer"
='resizer'
Defined in: plugins/ResizerPlugin.ts:48
Implementation of
Section titled “Implementation of”Overrides
Section titled “Overrides”Accessors
Section titled “Accessors”Get Signature
Section titled “Get Signature”get app():
Application
Defined in: plugins/Plugin.ts:52
Returns
Section titled “Returns”Implementation of
Section titled “Implementation of”Inherited from
Section titled “Inherited from”options
Section titled “options”Get Signature
Section titled “Get Signature”get options():
O
Defined in: plugins/Plugin.ts:44
Returns
Section titled “Returns”O
Implementation of
Section titled “Implementation of”Inherited from
Section titled “Inherited from”Get Signature
Section titled “Get Signature”get scale():
number
Defined in: plugins/ResizerPlugin.ts:59
Returns
Section titled “Returns”number
Implementation of
Section titled “Implementation of”Get Signature
Section titled “Get Signature”get size():
Size
Defined in: plugins/ResizerPlugin.ts:55
Returns
Section titled “Returns”Implementation of
Section titled “Implementation of”Methods
Section titled “Methods”_cancelResize()
Section titled “_cancelResize()”_cancelResize():
void
Defined in: plugins/ResizerPlugin.ts:88
Returns
Section titled “Returns”void
_resize()
Section titled “_resize()”_resize():
void
Defined in: plugins/ResizerPlugin.ts:120
Resizes the application based on window size and module options.
Returns
Section titled “Returns”void
_resizeInternal()
Section titled “_resizeInternal()”_resizeInternal(
w
,h
,minWidth
,minHeight
,letterbox
):object
Defined in: plugins/ResizerPlugin.ts:95
Parameters
Section titled “Parameters”number
number
minWidth
Section titled “minWidth”number
minHeight
Section titled “minHeight”number
letterbox
Section titled “letterbox”boolean
Returns
Section titled “Returns”object
aspectRatio
Section titled “aspectRatio”aspectRatio:
number
height
Section titled “height”height:
number
width:
number
addSignalConnection()
Section titled “addSignalConnection()”addSignalConnection(…
args
):void
Defined in: plugins/Plugin.ts:78
Add signal connections to the container.
Parameters
Section titled “Parameters”…SignalConnection
[]
The signal connections to add.
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”IResizerPlugin
.addSignalConnection
Inherited from
Section titled “Inherited from”clearSignalConnections()
Section titled “clearSignalConnections()”clearSignalConnections():
void
Defined in: plugins/Plugin.ts:84
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”IResizerPlugin
.clearSignalConnections
Inherited from
Section titled “Inherited from”destroy()
Section titled “destroy()”destroy():
void
Defined in: plugins/Plugin.ts:56
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”Inherited from
Section titled “Inherited from”initialize()
Section titled “initialize()”initialize(
options
):Promise
<void
>
Defined in: plugins/ResizerPlugin.ts:66
Initializes the Resizer module.
Parameters
Section titled “Parameters”options
Section titled “options”Partial
<ResizerPluginOptions
>
Returns
Section titled “Returns”Promise
<void
>
Implementation of
Section titled “Implementation of”Overrides
Section titled “Overrides”postInitialize()
Section titled “postInitialize()”postInitialize():
Promise
<void
>
Defined in: plugins/ResizerPlugin.ts:74
Post-initialization of the Resizer module. when this is called, the renderer is already created, and the dom element has been appended
Returns
Section titled “Returns”Promise
<void
>
Implementation of
Section titled “Implementation of”Overrides
Section titled “Overrides”resize()
Section titled “resize()”resize():
Promise
<Size
>
Defined in: plugins/ResizerPlugin.ts:78
Returns
Section titled “Returns”Promise
<Size
>