]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
add note about single vs group
authorMark Otto <markdotto@gmail.com>
Sun, 24 Dec 2017 22:26:52 +0000 (14:26 -0800)
committerMark Otto <markd.otto@gmail.com>
Thu, 28 Dec 2017 18:19:27 +0000 (10:19 -0800)
docs/4.0/components/buttons.md

index f7ac8e7628352090677277af30d245da9f711d0a..60373be6c7cdedd207c5501a7eb9bc3e271af78f 100644 (file)
@@ -116,7 +116,7 @@ Add `data-toggle="button"` to toggle a button's `active` state. If you're pre-to
 
 ### Checkbox and radio buttons
 
-Bootstrap's `.button` styles can be applied to other elements, such as `<label>`s, to provide checkbox or radio style button toggling. Add `data-toggle="buttons"` to a `.btn-group` containing those modified buttons to enable their toggling behavior via JavaScript and add `.btn-group-toggle` to style the `<input>`s within your buttons.
+Bootstrap's `.button` styles can be applied to other elements, such as `<label>`s, to provide checkbox or radio style button toggling. Add `data-toggle="buttons"` to a `.btn-group` containing those modified buttons to enable their toggling behavior via JavaScript and add `.btn-group-toggle` to style the `<input>`s within your buttons. **Note that you can create single input-powered buttons or groups of them.**
 
 The checked state for these buttons is **only updated via `click` event** on the button. If you use another method to update the input—e.g., with `<input type="reset">` or by manually applying the input's `checked` property—you'll need to toggle `.active` on the `<label>` manually.