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

      • OptionalscopeOrConfig: null | Document | Element | Config = {}

        Scope of the document to search within or config for all components (with optional scope)

      Returns void