govuk-frontend
    Preparing search index...

    Function initAll

    • Initialise all components

      Use the data-module attributes to find, instantiate and init all of the components provided as part of GOV.UK Frontend.

      Parameters

      • Optionalconfig: Config & { onError?: OnErrorCallback<CompatibleClass>; scope?: Element }

        Config for all components (with optional scope)

      Returns void