o-toggle

JS

Accessible show/hide behaviour

View on GitHub

Quick start

Using the build service

Add the following token to your script tag (how do I do that?):

o-toggle@^1.1.7

For more information see the Origami build service.

Using a manual build process

Run the following command in the root directory of your project, to add this dependency to your bower.json file:

bower install --save "o-toggle"@"^1.1.7"

For more information see the Origami build process.

toggles


			

The toggle button updates aria attributes on the targets and adds a class.

Component information

Latest stable version:
1.1.9 (3 days, 13 hours old)
Status (Learn more):
Active (as of 1.1.7)
Bundle sizes:
14.68KB JavaScript 83b CSS
This version
1.1.7 (16 days, 14 hours old)
Support status (Learn more):
Active (as of 1.1.7)
Last indexed
5 Oct 2017 10:33:40 (Build now)
Installable?
OK
Dependencies
None
Dependents
o-footero-header

Contact

To talk to the team you can contact the Origami team on Slack channel #ft-origami or directly by email at origami-support@ft.com

Report an issue

Origami