@validide/u-front-ends
    Preparing search index...

    Class RootComponent

    The root component to host the rest of the components. There is not limitation right no but ideally there should only be one of these on a page.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    id: string
    isInitialized: boolean
    isMounted: boolean
    resourcesLoaded: boolean
    rootElement: HTMLElement | null
    window: Window | null

    Methods

    • Core dispose function. Any component derived should override this to add clean-up after itself.

      Returns Promise<void>

    • Core initialization function. Any component derived should override this to add extra functionality.

      Returns Promise<void>

    • Logging method.

      Parameters

      • Optionalmessage: unknown

        The message.

      • ...optionalParams: unknown[]

        Optional parameters.

      Returns void

    • Remove a child component.

      Parameters

      • id: string

        The child component identifier.

      Returns Promise<void>