Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

patapata

1.1.0 • Public • Published

patapata v1.1.0

Animation of dom, flipping its sections for showing and hiding the whole

Note: This library depends on jQuery and es6-promise.

Usage

<script src="jquery.min.js"></script>
<script src="patapata.js"></script>
<script>
$(function () {
    $('.main').patapata(8, 4, {unitDur: 500}).show().then(function (pp) {
        pp.$dom.click(function () {
            pp.hide();
        });
    });
});
</script>

demo (chrome)

API doc

install

npm i patapata

Downloadsweekly downloads

0

version

1.1.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability