ResizerPlugin
Defined in: plugins/ResizerPlugin.ts:48
Interface for Resizer module.
Extends
Implements
Constructors
new ResizerPlugin()
new ResizerPlugin(
id
):ResizerPlugin
Defined in: plugins/Plugin.ts:40
Parameters
id
string
= 'Plugin'
Returns
Inherited from
Properties
__dill_pixel_method_binding_root
__dill_pixel_method_binding_root:
boolean
Defined in: plugins/Plugin.ts:37
Inherited from
Plugin
.__dill_pixel_method_binding_root
id
readonly
id:"resizer"
='resizer'
Defined in: plugins/ResizerPlugin.ts:49
Implementation of
Overrides
Accessors
app
Get Signature
get app():
T
Defined in: plugins/Plugin.ts:45
Returns
T
Implementation of
Inherited from
scale
Get Signature
get scale():
number
Defined in: plugins/ResizerPlugin.ts:61
Returns
number
Implementation of
size
Get Signature
get size():
Size
Defined in: plugins/ResizerPlugin.ts:57
Returns
Implementation of
Methods
_cancelResize()
_cancelResize():
void
Defined in: plugins/ResizerPlugin.ts:90
Returns
void
_resize()
_resize():
void
Defined in: plugins/ResizerPlugin.ts:122
Resizes the application based on window size and module options.
Returns
void
_resizeInternal()
_resizeInternal(
w
,h
,minWidth
,minHeight
,letterbox
):object
Defined in: plugins/ResizerPlugin.ts:97
Parameters
w
number
h
number
minWidth
number
minHeight
number
letterbox
boolean
Returns
object
aspectRatio
aspectRatio:
number
height
height:
number
width
width:
number
addSignalConnection()
addSignalConnection(…
args
):void
Defined in: plugins/Plugin.ts:71
Add signal connections to the container.
Parameters
args
…SignalConnection
[]
The signal connections to add.
Returns
void
Implementation of
IResizerPlugin
.addSignalConnection
Inherited from
clearSignalConnections()
clearSignalConnections():
void
Defined in: plugins/Plugin.ts:77
Returns
void
Implementation of
IResizerPlugin
.clearSignalConnections
Inherited from
destroy()
destroy():
void
Defined in: plugins/Plugin.ts:49
Returns
void
Implementation of
Inherited from
initialize()
initialize(
_app
,options
):Promise
<void
>
Defined in: plugins/ResizerPlugin.ts:68
Initializes the Resizer module.
Parameters
_app
options
Partial
<ResizerPluginOptions
> = {}
Returns
Promise
<void
>
Implementation of
Overrides
postInitialize()
postInitialize():
Promise
<void
>
Defined in: plugins/ResizerPlugin.ts:76
Post-initialization of the Resizer module. when this is called, the renderer is already created, and the dom element has been appended
Returns
Promise
<void
>
Implementation of
Overrides
resize()
resize():
Promise
<Size
>
Defined in: plugins/ResizerPlugin.ts:80
Returns
Promise
<Size
>