{"id":19279136,"url":"https://github.com/krasimir/animo-project","last_synced_at":"2025-04-22T00:32:21.497Z","repository":{"id":4914961,"uuid":"6071298","full_name":"krasimir/animo-project","owner":"krasimir","description":"javascript framework for animations","archived":false,"fork":false,"pushed_at":"2012-12-02T17:59:44.000Z","size":327,"stargazers_count":3,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-01T17:23:43.030Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"dalpo/rails_admin_nestable","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/krasimir.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-10-04T05:50:34.000Z","updated_at":"2024-12-15T07:34:03.000Z","dependencies_parsed_at":"2022-09-16T16:44:09.841Z","dependency_job_id":null,"html_url":"https://github.com/krasimir/animo-project","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krasimir%2Fanimo-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krasimir%2Fanimo-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krasimir%2Fanimo-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krasimir%2Fanimo-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/krasimir","download_url":"https://codeload.github.com/krasimir/animo-project/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250157968,"owners_count":21384331,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T21:13:44.081Z","updated_at":"2025-04-22T00:32:21.105Z","avatar_url":"https://github.com/krasimir.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# animo\n### Small JavaScript library for CSS3 animations\n\n*** \n\n#### Dependencies\n\n[http://jquery.com/](jQuery)\n\n#### Usage\n\nInclude **jQuery** and **animo.js** in your page.\n\n    \u003cscript src=\"jquery.js\"\u003e\u003c/script\u003e\n    \u003cscript src=\"animo.js\"\u003e\u003c/script\u003e\n\n#### Create animation template:\n\n    animo.create(\u003cname\u003e, \u003cproperties\u003e)\n\n**name:** string\n\n**properties:**\n\n- any valid css property (example: {border: \"solid 1px #000\", color: \"#F00\"})\n- duration (example: {duration: \"1500ms\"})\n- scale (example: {scale: \"1.2, 1.2\"})\n- rotate (example: {rotate: \"120deg\"})\n- translate (example: {translate: \"100px, 200px\"})\n- skew (example: {skew: \"10deg, 60deg\"})\n- ease (example: {ease: \"cubic-bezier(0,1.23,.87,.02)\"})\n- bind (example: {bind: {to: \".mainmenu \u003e a\", on: \"onmouseover\"})\n- skipAnimation - if it is **true** the css styles are applied without setting the transition properties, which means that there is no animation, just direct styling\n- delay (example: {delay: 300})\n\n\n#### Play the animation\n\n    animo.play(\u003cproperties\u003e);\n\n**properties:**\n\n- element - string selector or jQuery object\n- animation - name of created animation\n- on - if set the animation will be executed as a handler of provided event (example: {on: \"onmouseover\"})\n- callback - it is called once the animation ends\n\nInstant playing\n\n    $(\".demo-nav \u003e li \u003e a\").mouseover(function() {\n        animo.play({\n            element: this,\n            animation: \"over\"\n        });\n    });\n\nPlaying on event\n\n    animo.play({\n        element: \".demo-nav \u003e li \u003e a\",\n        animation: \"over\",\n        on: \"mouseover\"\n    });\n\nPlaying on event, defined in the animation creation\n\n    animo.create(\"over\", {\n        \"box-shadow\": \"0px 0px 20px #5C5C5C\",\n        duration: 400,\n        background: \"#000\",\n        bind: {\n            to: \".navigation \u003e li \u003e a\",\n            on: \"mouseover\"\n        }\n    })\n\n# Plugins\n\n***\n\n### Popuplize\n\nThe plugin allows creation of popups. \n\n#### Usage\n\nInclude **jQuery**, **animo.js** and **animo.plugin.popuplize.js** in your page.\n\n    \u003cscript src=\"jquery.js\"\u003e\u003c/script\u003e\n    \u003cscript src=\"animo.js\"\u003e\u003c/script\u003e\n    \u003cscript src=\"animo.plugin.popuplize.js\"\u003e\u003c/script\u003e\n\nYour dialog should be hidden\n    \n    \u003cstyle type=\"text/css\"\u003e\n        .dialog {\n            display: none; /* only this style is required */\n            width: 400px;\n            padding: 20px;\n            box-shadow: 0px 0px 20px #5C5C5C;\n            background: #FFF;\n        }\n    \u003c/style\u003e\n    ...\n    \u003cdiv class=\"dialog\" id=\"info-popup\"\u003e ... dialog content ... \u003c/div\u003e\n\nDefine the main content holder\n\n    animo.popuplize.content(\".container\");\n\nDecide if you want to use overlay or not\n\n    animo.popuplize.useCover = true; // true by default\n\nShowing the popup\n\n    animo.popuplize.show(\"#info-popup\");\n\nYou can also supply a jquery object. It is not necessary to have the object in DOM. If it is not added animo will do that for you.\n\n    var popup = $('\u003cdiv class=\"dialog\"\u003e ... dialog content ... \u003c/div\u003e');\n    animo.popuplize.show(popup);\n\nHide the popup\n\n    animo.popuplize.hide(\"#info-popup\");\n    animo.popuplize.hide(\"#info-popup\", true); // hide the popup and remove it from DOM\n    animo.popuplize.hide(\"#info-popup\", function() { ... }); // hide the popup, keep it in DOM and call a callback function\n\nor \n\n    var popup = $('\u003cdiv class=\"dialog\"\u003e ... dialog content ... \u003c/div\u003e');\n    animo.popuplize.hide(popup);\n\n\n###### Inspired by\n- [https://github.com/visionmedia/move.js](https://github.com/visionmedia/move.js)\n- [https://github.com/daneden/animate.css](https://github.com/daneden/animate.css)\n- [http://hakim.se/](http://hakim.se/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrasimir%2Fanimo-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrasimir%2Fanimo-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrasimir%2Fanimo-project/lists"}