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.6

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.6"

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 (1 month, 5 days old)
Status (Learn more):
Active (as of 1.1.6)
Bundle sizes:
14.68KB JavaScript 83b CSS
This version
1.1.6 (10 months, 13 days old)
Support status (Learn more):
Active (as of 1.1.6)
Last indexed
10 Jan 2017 16:52:56 (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