Function isSupported

  • Checks if GOV.UK Frontend is supported on this page

    Some browsers will load and run our JavaScript but GOV.UK Frontend won't be supported.

    Parameters

    • Optional$scope: HTMLElement = document.body

      (internal) <body> HTML element checked for browser support

    Returns boolean

    Whether GOV.UK Frontend is supported on this page