{"id":17450371,"url":"https://github.com/sean-perkins/nativescript-animated-circle","last_synced_at":"2025-05-05T20:13:22.830Z","repository":{"id":55891950,"uuid":"106078633","full_name":"sean-perkins/nativescript-animated-circle","owner":"sean-perkins","description":"NativeScript plugin for animated progress borders on circles. ","archived":false,"fork":false,"pushed_at":"2020-12-09T04:49:44.000Z","size":2060,"stargazers_count":13,"open_issues_count":6,"forks_count":11,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-05T20:13:17.641Z","etag":null,"topics":["angular","animated-circle","nativescript","plugin"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sean-perkins.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":"2017-10-07T07:12:55.000Z","updated_at":"2024-05-30T16:11:17.000Z","dependencies_parsed_at":"2022-08-15T08:50:19.131Z","dependency_job_id":null,"html_url":"https://github.com/sean-perkins/nativescript-animated-circle","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/sean-perkins%2Fnativescript-animated-circle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sean-perkins%2Fnativescript-animated-circle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sean-perkins%2Fnativescript-animated-circle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sean-perkins%2Fnativescript-animated-circle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sean-perkins","download_url":"https://codeload.github.com/sean-perkins/nativescript-animated-circle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252569647,"owners_count":21769517,"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":["angular","animated-circle","nativescript","plugin"],"created_at":"2024-10-17T22:14:12.186Z","updated_at":"2025-05-05T20:13:22.806Z","avatar_url":"https://github.com/sean-perkins.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nativescript-animated-circle\n\n[![npm](https://img.shields.io/npm/v/nativescript-animated-circle.svg)](https://www.npmjs.com/package/nativescript-animated-circle)\n[![npm](https://img.shields.io/npm/dt/nativescript-animated-circle.svg?label=npm%20downloads)](https://www.npmjs.com/package/nativescript-animated-circle)\n\n[![NPM](https://nodei.co/npm/nativescript-animated-circle.png?downloads=true\u0026downloadRank=true\u0026stars=true)](https://nodei.co/npm/nativescript-animated-circle/)\n\nCreates an animated circle (animates the border of the circle) on iOS and Android.\n\n| iOS | Android |\n| --- | --- |\n|\u003cimg height=\"520\" src=\"https://user-images.githubusercontent.com/13732623/31305683-871c586c-ab0d-11e7-8afb-321960664439.png\"\u003e|\u003cimg height=\"400\" src=\"https://user-images.githubusercontent.com/13732623/31305686-ab5c4444-ab0d-11e7-9525-81f77c2c6689.png\"\u003e |\n\n## Installation\n\n```\ntns plugin add nativescript-animated-circle\n```\n\n## Usage\n\n```\n\u003cPage xmlns=\"http://schemas.nativescript.org/tns.xsd\"\n  xmlns:ui=\"nativescript-animated-circle\"\u003e\n    \u003cui:AnimatedCircle\n        backgroundColor=\"transparent\"\n        width=\"200\"\n        height=\"200\"\n        animated=\"true\"\n        animateFrom=\"0\"\n        rimColor=\"#FF5722\"\n        barColor=\"#3D8FF4\"\n        fillColor=\"#eee\"\n        clockwise=\"true\"\n        rimWidth=\"5\"\n        progress=\"80\"\n        text=\"bam\"\n        textSize=\"28\"\n        textColor=\"red\" /\u003e\n\u003c/Page\u003e\n```\n\n#### Angular\n\nTo use this plugin in Angular, please register the element above your `AppModule` declaration.\n\n```\nimport { registerElement } from 'nativescript-angular/element-registry'\n\nregisterElement('AnimatedCircle', () =\u003e require('nativescript-animated-circle').AnimatedCircle);\n```\n\nThen you can leverage the plugin using `\u003cAnimatedCircle\u003e\u003c/AnimatedCircle\u003e` in your templates.\n\n## API\n\n| Property | Default | Description |\n| --- | --- | --- |\n| rimColor | #FF5722 | The filled portion of the circle border's color. |\n| barColor | #3D8FF4 | The remaining (unfilled) portion of the circle border. |\n| clockwise | true | The CW (true) or CCW (false) draw direction. |\n| rimWidth | 5 | The border radius of the circle. |\n| progress | 0 | The current progress value. |\n| startAngle | 0 | The angle to start drawing from. |\n| endAngle | 100 | _iOS only_ the end angle to stop drawing at. |\n| animated | false | _Android only_ animation status. |\n| animateFrom | 0 | _Android only_ the progress value to animate from. |\n| animationDuration | 1000 | _Android only_ the duration to animate for. |\n| text | \"\" | The text inside of the circle. |\n| textSize | 0 | Text size, 0 will hide the text |\n| textColor | #ff0000 | Text color |\n\n### Available for Contract\n\nNeed velocity on your NativeScript projects? I'm available to build beautiful and performant NativeScript applications for your business requirements. Email me direct: sean@devonite.com to discuss project details.\n\n## License\n\nApache License Version 2.0, January 2004\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsean-perkins%2Fnativescript-animated-circle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsean-perkins%2Fnativescript-animated-circle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsean-perkins%2Fnativescript-animated-circle/lists"}