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

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

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.9)
Bundle sizes:
14.68KB JavaScript 83b CSS
This version
1.1.9 (1 month, 5 days old)
Support status (Learn more):
Active (as of 1.1.9)
Last indexed
19 Oct 2017 10:17:00 (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