ScopedComponentInfo

class ScopedComponentInfo(val component: Component, val context: ComponentContext, errorEventHandler: EventHandler<ErrorEvent>?) : Cloneable

Constructors

Link copied to clipboard
constructor(component: Component, context: ComponentContext, errorEventHandler: EventHandler<ErrorEvent>?)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Holds an event handler with its dispatcher set to the parent component, or - in case that this is a root component - a default handler that reraises the exception. Null if the component isn't initialized.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Returns the number of children of a given type @paramcomponent component has and then increments it by 1.

Link copied to clipboard

Returns the number of children with same @parammanualKey component has and then increments it by 1.

Link copied to clipboard
fun registerWorkingRange(name: String, workingRange: WorkingRange, component: Component, globalKey: String)

Store a working range information into a list for later use by LayoutState.

Link copied to clipboard

This setter should only be called during the render phase of the component, never after.