Skip link component

Hierarchy (view full)

Constructors

Properties

_$root: HTMLAnchorElement
_config: any
elementType: (new () => HTMLAnchorElement) = HTMLAnchorElement
moduleName: string = 'govuk-skip-link'

Name for the component used when initialising using data-module attributes.

Accessors

Methods

  • Override configuration

    Parameters

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

      config to override

      • [key: string]: unknown

    Returns {
        [key: string]: unknown;
    }

    • overidden config
    • [key: string]: unknown