Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tota11y API (custom plugins) #20

Open
jdan opened this issue Jun 23, 2015 · 1 comment
Open

tota11y API (custom plugins) #20

jdan opened this issue Jun 23, 2015 · 1 comment

Comments

@jdan
Copy link
Owner

jdan commented Jun 23, 2015

I'd like to add custom plugin support to tota11y, as well as the ability to toggle plugins.

Custom plugins:

tota11y.addPlugin('my-plugin', {
    run: function() {
        // ...
    },
    cleanup: function() {
        // ...
    }
});

Toggling plugins:

tota11y.hidePlugins(['contrast', 'link-text']);

Thoughts?

@rileyjshaw
Copy link
Contributor

👍

@jdan jdan changed the title Custom plugins + Toggling plugins tota11y API (custom plugins) Sep 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants