ComponentUtils
Functions
Link copied to clipboard
open fun createOrGetErrorEventHandler(component: Component, parentContext: ComponentContext, scopedContext: ComponentContext): EventHandler<ErrorEvent>
Link copied to clipboard
Given two object instances of the same type, this method accesses all their internal fields, to check if they are equivalent.
Link copied to clipboard
open fun hasEquivalentState(@Nullable stateContainer1: StateContainer, @Nullable stateContainer2: StateContainer): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Reraise an error event up the hierarchy so it can be caught by another component, or reach the root and cause the application to crash.
Link copied to clipboard
Uses the given ComponentTree to add metadata to a wrapper exception (if the wrapper doesn't already exist) and return it.
Uses the given ComponentContext to add metadata to a wrapper exception (if the wrapper doesn't already exist) and return it.