OptionalafterOptionalbeforeCalled immediately before each template update
OptionalfinalizeCalled as the final lifecycle method at the end of the unmounting process.
OptionalinitialThe initial state for this Component
OptionalobservedAttributes to watch for changes for updates.
OptionalonIf defined, receives errors caught during the lifecycle methods of this component and it's children. If not defined, this component will instead throw errors as they are found.
OptionalrootThe mode for this Component's ShadowRoot.
MDN: https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/mode
OptionalscriptInitialization scripting for this Component
OptionalstyleStyles to encapsulate to this component's root.
OptionaltemplateAn HTML Template element for this element to use.
OptionalcomputedAn object or function returning an object which populates the data values
in the templating engine. Such values are accessed using the * notation.
Optionalattributes: Record<string, string | null>Optionalstate: StateShape
Called immediately after each template update