ClassComponent<RootElementType, ConfigType>Virtual

Base Component class

Centralises the behaviours shared by our components

Type Parameters

  • RootElementType = HTMLElement
  • ConfigType = {}

Hierarchy (view full)

Constructors

Properties

elementType: (new () => Element) = HTMLElement

Accessors

Methods

  • Override configuration

    Parameters

    • config: {
          [key: string]: unknown;
      }

      config to override

      • [key: string]: unknown

    Returns {
        [key: string]: unknown;
    }

    • overidden config
    • [key: string]: unknown