Life Cycle
Mounting Cycle
1. Setup
static async setup() {
// Add HTML content to the document
this.engine.element().find('game-screen').append('<my-component></my-component>');
// Initialize configuration
this.configuration({
defaultValue: 'something'
});
}2. Bind
3. Init
Instance Lifecycle
connectedCallback
render
onStateUpdate
onPropsUpdate
Flow Control Methods
Static Flow Control
Instance Flow Control
Event Methods
onStart
onLoad
onSave
onReset
Complete Life Cycle Diagram
Related
Last updated
Was this helpful?