govuk_frontend_toolkit
Advanced tools
Comparing version 1.6.1 to 1.6.2
@@ -0,1 +1,5 @@ | ||
# 1.6.2 | ||
- Reset font family for print stylesheets to fix print errors in browsers and printers | ||
# 1.6.1 | ||
@@ -2,0 +6,0 @@ |
@@ -856,2 +856,9 @@ # GOV.UK Frontend Toolkit | ||
The classes that get added can be passed in as options: | ||
``` | ||
var $buttons = $("label input[type='radio'], label input[type='checkbox']"); | ||
GOVUK.selectionButtons($buttons, { focusedClass : 'selectable-focused', selectedClass : 'selectable-selected' }); | ||
``` | ||
Note that `GOVUK.selectionButtons` and the constructors it wraps, `GOVUK.RadioButtons` and `GOVUK.CheckboxButtons` use the `bind.js` polyfill. | ||
@@ -858,0 +865,0 @@ |
@@ -1,1 +0,1 @@ | ||
1.6.1 | ||
1.6.2 |
{ | ||
"name": "govuk_frontend_toolkit", | ||
"version": "1.6.1", | ||
"version": "1.6.2", | ||
"description": "npm for govuk_frontend_toolkit", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
479630