{"id":15305155,"url":"https://github.com/eddyverbruggen/nativescript-keyframes","last_synced_at":"2025-04-14T23:13:25.019Z","repository":{"id":57308639,"uuid":"74493032","full_name":"EddyVerbruggen/nativescript-keyframes","owner":"EddyVerbruggen","description":"Facebook Keyframes plugin - if CSS animations don't cut it for ya","archived":false,"fork":false,"pushed_at":"2017-02-02T07:54:39.000Z","size":2049,"stargazers_count":33,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-14T23:13:05.070Z","etag":null,"topics":["animation","facebook","keyframes","nativescript","nativescript-plugin"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EddyVerbruggen.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}},"created_at":"2016-11-22T16:42:26.000Z","updated_at":"2024-05-30T15:57:17.000Z","dependencies_parsed_at":"2022-08-28T23:30:25.084Z","dependency_job_id":null,"html_url":"https://github.com/EddyVerbruggen/nativescript-keyframes","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/EddyVerbruggen%2Fnativescript-keyframes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EddyVerbruggen%2Fnativescript-keyframes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EddyVerbruggen%2Fnativescript-keyframes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EddyVerbruggen%2Fnativescript-keyframes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EddyVerbruggen","download_url":"https://codeload.github.com/EddyVerbruggen/nativescript-keyframes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248975328,"owners_count":21192210,"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":["animation","facebook","keyframes","nativescript","nativescript-plugin"],"created_at":"2024-10-01T07:59:24.351Z","updated_at":"2025-04-14T23:13:25.002Z","avatar_url":"https://github.com/EddyVerbruggen.png","language":"JavaScript","readme":"# NativeScript Facebook Keyframes plugin\n{N} wrapper for [this awesome animation library](https://github.com/facebookincubator/Keyframes)\n\n\u003cimg src=\"https://raw.githubusercontent.com/EddyVerbruggen/nativescript-keyframes/master/media/keyframes-logo.png\" /\u003e\n\n## Why use this?\nGood question, as NativeScript already has [outstanding CSS animation support](https://docs.nativescript.org/ui/animation-css.html)!\n\nMake sure you check that out as well, but if you or your designer is a sucker for __After Effects__\nto create crazily complex (and beautiful) animations then this is the plugin for you.\n\n## Installation\nFrom the command prompt go to your app's root folder and execute:\n\n```\ntns plugin add nativescript-keyframes\n```\n\n## Demo app\nWant to dive in quickly? Check out [the demo](demo). Which looks like __[this (YouTube video)](https://www.youtube.com/watch?v=eKHW8gSNpQc)__. Otherwise, continue reading.\n\nYou can run the demo app from the root of the project by typing `npm run demo.ios.device`.\n\n## API\n\nThis plugin makes most sense when used from XML, which is done like this:\n\n```xml\n\u003cPage xmlns:Keyframes=\"nativescript-keyframes\"\u003e\n  \u003cKeyframes:KeyframesView\n      class=\"keyframe\"\n      width=\"200\"\n      height=\"200\"\n      source=\"keyframes/logo.json\"\u003e\n  \u003c/Keyframes:KeyframesView\u003e\n\u003c/Page\u003e\n```\n\nTo make the image look transparent on Android currently,\nyou need to set the background color to that of the parent container, so in your `css` file add:\n\n```css\n.keyframe {\n  background-color: #DDD;\n}\n```\n\nThe `source` property refers to a folder inside your app,\nso in this case we expect this file: `app/keyframes/logo.json`","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feddyverbruggen%2Fnativescript-keyframes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feddyverbruggen%2Fnativescript-keyframes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feddyverbruggen%2Fnativescript-keyframes/lists"}