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

/patapata/

    Package Sidebar

    Install

    npm i patapata

    Weekly Downloads

    3

    Version

    1.1.0

    License

    MIT

    Last publish

    Collaborators

    • kt3k