xat / jquery-fork

jquery plugin used to fork selectors

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jquery-fork

forking jquery selectors done easy

$('li', 'ul.menu')
    .fork(
        function() {
            this.filter('.active').show();
        },
        function() {
            this.filter(':not(.active)').hide();
        }
    );

License

Copyright (c) 2014 Simon Kusterer Licensed under the MIT license.

About

jquery plugin used to fork selectors

License:MIT License