govuk-frontend
    Preparing search index...

    Class Component<RootElementType>Virtual

    Base Component class

    Centralises the behaviours shared by our components

    Type Parameters

    • RootElementType extends Element = HTMLElement

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    Properties

    elementType: new () => Element = HTMLElement

    Accessors

    Methods

    • Private

      Validates whether component is already initialised

      Returns void

      when component is already initialised

    • Validates whether components are supported

      Returns void

      when the components are not supported