Interface: MachineConfig<ContextT, EventT>
Machine configuration.
Type parameters
Name | Type |
---|---|
ContextT |
extends Context = Context |
EventT |
extends Event = Event |
Properties
container
• Optional
container: Container
<DisplayObject
>
context
• context: ContextT
loadOptions
• Optional
loadOptions: LoadOptions
Load options to use for all layouts loaded via load services.
options
• Optional
options: Partial
<MachineOptions
<ContextT
, EventT
, BaseActionObject
, ServiceMap
, TypegenDisabled
>>
renderer
• Optional
renderer: LayoutRenderer
safeArea
• Optional
safeArea: SafeArea
Initial safe area. The safe area is automatically applied to layouts that have their layer’s
safeArea
set to true
.
Can be updated dynamically later via MachineInstance.setSafeArea
.
strict
• Optional
strict: boolean