Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update body classes for govuk frontend v5 #337

Merged
merged 2 commits into from
Jun 28, 2024

Commits on Jun 28, 2024

  1. Update body classes for govuk-frontend-v5

    For govuk-frontend v5, there now needs to be additional class added to the `body` tag to indicate that the components are supported.
    
    This class is `govuk-frontend-supported` and is added if the browser supports JS of type `module` (which is the new browser target for govuk-frontend).
    
    The script tag is directly taken from the documentation.
    jon-kirwan authored and MartinJJones committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    fb1a578 View commit details
    Browse the repository at this point in the history
  2. Update CHANGELOG.md

    jon-kirwan authored and MartinJJones committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    b23086c View commit details
    Browse the repository at this point in the history