{"id":21903990,"url":"https://github.com/m1ga/ti.viewanimation","last_synced_at":"2026-05-11T06:04:31.163Z","repository":{"id":80614928,"uuid":"425618714","full_name":"m1ga/ti.viewanimation","owner":"m1ga","description":null,"archived":false,"fork":false,"pushed_at":"2021-11-07T23:00:03.000Z","size":114,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-27T07:11:55.526Z","etag":null,"topics":["andorid","animation","titanium-mobile","titanium-module"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/m1ga.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-11-07T21:20:55.000Z","updated_at":"2022-04-24T20:04:22.000Z","dependencies_parsed_at":"2023-07-08T02:45:31.833Z","dependency_job_id":null,"html_url":"https://github.com/m1ga/ti.viewanimation","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1ga%2Fti.viewanimation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1ga%2Fti.viewanimation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1ga%2Fti.viewanimation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1ga%2Fti.viewanimation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m1ga","download_url":"https://codeload.github.com/m1ga/ti.viewanimation/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244918579,"owners_count":20531685,"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":["andorid","animation","titanium-mobile","titanium-module"],"created_at":"2024-11-28T15:30:46.393Z","updated_at":"2026-05-11T06:04:26.117Z","avatar_url":"https://github.com/m1ga.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ti.viewanimation\n\n\u003cimg src=\"ani.gif\"/\u003e\n\u003cbr/\u003e\n\nUsing [AndroidViewAnimations](https://github.com/daimajia/AndroidViewAnimations) in Titanium\n\n## Example\n\n```js\nconst VIEW_ANIMATION = require(\"ti.viewanimation\");\nvar ani;\nconst win = Ti.UI.createWindow();\nconst view = Ti.UI.createView({\n\twidth: 200,\n\theight: 200,\n\tbackgroundColor: \"red\"\n});\nwin.add(view);\nwin.addEventListener(\"open\", function(e) {\n\tani = VIEW_ANIMATION.animate({\n\t\tview: view,\n\t\ttype: VIEW_ANIMATION.RUBBERBAND,\n\t\tduration: 500,\n\t\trepeat: -1\t//\n\t});\n\n\t// stop animation after 3 seconds\n\tsetTimeout(function(){\n\t\tani.stop();\n\t}, 3000)\n})\n\nwin.open();\n```\n\n## Methods\n* animate({view, duration, repeat, repeatMode, type, delay}) -\u003e returns animation\n\n### animation methods\n* stop()\n\n### animation properties\n* isRunning\n* isStarted\n\n## Events\n* start\n* cancel\n* done\n\n## Constants\n\nuse the following animation type constants:\n\n* FLASH\n* PULSE\n* RUBBERBAND\n* SHAKE\n* SWING\n* WOBBLE\n* BOUNCE\n* TADA\n* STANDUP\n* WAVE\n* HINGE\n* ROLLIN\n* ROLLOUT\n* LANDING\n* TAKINGOFF\n* DROPOUT\n* BOUNCEIN\n* BOUNCEINDOWN\n* BOUNCEINLEFT\n* BOUNCEINRIGHT\n* BOUNCEINUP\n* FADEIN\n* FADEINUP\n* FADEINDOWN\n* FADEINLEFT\n* FADEINRIGHT\n* FADEOUTDOWN\n* FADEOUTLEFT\n* FADEOUTRIGHT\n* FADEOUTUP\n* FLIPINX\n* FLIPOUTX\n* FLIPOUTY\n* ROTATEIN\n* ROTATEINDOWNLEFT\n* ROTATEINDOWNRIGHT\n* ROTATEINUPLEFT\n* ROTATEINUPRIGHT\n* ROTATEOUTDOWNLEFT\n* ROTATEOUTDOWNRIGHT\n* ROTATEOUTUPLEFT\n* ROTATEOUTUPRIGHT\n* SLIDEINLEFT\n* SLIDEINRIGHT\n* SLIDEINUP\n* SLIDEINDOWN\n* SLIDEOUTLEFT\n* SLIDEOUTRIGHT\n* SLIDEOUTUP\n* SLIDEOUTDOWN\n* ZOOMIN\n* ZOOMINDOWN\n* ZOOMINLEFT\n* ZOOMINRIGHT\n* ZOOMINUP\n* ZOOMOUTDOWN\n* ZOOMOUTLEFT\n* ZOOMOUTRIGHT\n* ZOOMOUTUP\n\n\nrepeatMode:\n* REPEAT_RESTART\n* REPEAT_REVERSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm1ga%2Fti.viewanimation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm1ga%2Fti.viewanimation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm1ga%2Fti.viewanimation/lists"}