ResizerPlugin
Defined in: plugins/ResizerPlugin.ts:48
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”__dill_pixel_method_binding_root
Section titled “__dill_pixel_method_binding_root”__dill_pixel_method_binding_root:
boolean
Defined in: plugins/Plugin.ts:39
Inherited from
Section titled “Inherited from”Plugin
.__dill_pixel_method_binding_root
readonly
id:"resizer"
='resizer'
Defined in: plugins/ResizerPlugin.ts:49
Implementation of
Section titled “Implementation of”Overrides
Section titled “Overrides”Accessors
Section titled “Accessors”Get Signature
Section titled “Get Signature”get app():
A
Defined in: plugins/Plugin.ts:53
Returns
Section titled “Returns”A
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:60
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:56
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:89
Returns
Section titled “Returns”void
_resize()
Section titled “_resize()”_resize():
void
Defined in: plugins/ResizerPlugin.ts:121
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:96
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:79
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:85
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:57
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:67
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:75
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:79
Returns
Section titled “Returns”Promise
<Size
>