{"id":13547454,"url":"https://github.com/hamdiwanis/nativescript-shine-button","last_synced_at":"2025-04-02T19:33:14.842Z","repository":{"id":95896904,"uuid":"138806596","full_name":"hamdiwanis/nativescript-shine-button","owner":"hamdiwanis","description":"NativeScript plugin that add shine effect to your button.","archived":false,"fork":false,"pushed_at":"2019-02-15T13:43:07.000Z","size":2515,"stargazers_count":7,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-14T10:15:30.534Z","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":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hamdiwanis.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":"2018-06-26T23:59:23.000Z","updated_at":"2024-08-01T12:14:59.595Z","dependencies_parsed_at":null,"dependency_job_id":"90f42979-4a1c-4946-80e1-97967de11dda","html_url":"https://github.com/hamdiwanis/nativescript-shine-button","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/hamdiwanis%2Fnativescript-shine-button","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamdiwanis%2Fnativescript-shine-button/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamdiwanis%2Fnativescript-shine-button/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamdiwanis%2Fnativescript-shine-button/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hamdiwanis","download_url":"https://codeload.github.com/hamdiwanis/nativescript-shine-button/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246880386,"owners_count":20848853,"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-08-01T12:00:56.051Z","updated_at":"2025-04-02T19:33:09.831Z","avatar_url":"https://github.com/hamdiwanis.png","language":"JavaScript","funding_links":[],"categories":["🚀 A series of exquisite and compact web page cool effects"],"sub_categories":["Button Effect"],"readme":"\u003ch1 align=\"center\"\u003e\n     NativeScript Shine Button\u003cbr/\u003e\u003cbr/\u003e\n\u003cimg src=\"https://github.com/hamdiwanis/nativescript-shine-button/raw/master/screenshots/demo.gif\" height=\"364px\" /\u003e\n\u003c/h1\u003e\n\n\u003e Note: This Plugin based on [WCLShineButton for IOS](https://github.com/imwcl/WCLShineButton) and [ShineButton for Android](https://github.com/ChadCSong/ShineButton) .\n\n## Installation\n```bash\ntns plugin add nativescript-shine-button\n```\n\n### Usage\n```html\n\u003cPage xmlns=\"http://schemas.nativescript.org/tns.xsd\" class=\"page\" xmlns:ui=\"nativescript-shine-button\"\u003e\n     \u003cui:ShineButton height=\"80\" width=\"80\" src=\"customicon\" color=\"gray\" fillColor=\"red\"\u003e\n\u003c/Page\u003e\n```\n\nsee the demo project for more info.\n\n## Angular\n\nAdd this to app.module.ts so you can use a ShineButton tag in the view:\n\n```\nimport { registerElement } from \"nativescript-angular\";\nregisterElement(\"ShineButton\", () =\u003e require(\"nativescript-shine-button\").ShineButton);\n```\n\n## API\n\n| **Property**            | **Description**                          |\n| ----------------------- | ---------------------------------------- |\n| `src`                   | button image (png)                       |\n| `color`                 | Default button color                     |\n| `fillColor`             | Fill button color                        |\n| `allowRandomColor`      | Allow shine color random                 |\n| `animDuration`          | shine anim duration in sec               |\n| `bigShineColor`         | big shine color                          |\n| `enableFlashing`        | Enable effect like flash                 |\n| `shineCount`            | shine count around button                |\n| `shineTurnAngle`        | turn angle of shine                      |\n| `shineDistanceMultiple` | multiple of distance to button           |\n| `smallShineOffsetAngle` | angle offset of small shine to big shine |\n| `smallShineColor`       | small shine color                        |\n| `shineSize`             | size of shine by pixel                   |\n## Next\n- [ ] adjust the properties to be more consistent on android and ios.\n\n## Contribute\nif you want to help improve the plugin you can consider it yours and make as PRs as you want :)\n\n## Get Help\nPlease, use [github issues](https://github.com/hamdiwanis/nativescript-shine-button/issues) strictly for [reporting bugs](CONTRIBUTING.md#reporting-bugs) or [requesting features](CONTRIBUTING.md#requesting-new-features).\n\n## Contact\nTwitter: [hamdiwanis](https://twitter.com/hamdiwanis)  \\\nEmail: hamdiwanis@hotmail.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhamdiwanis%2Fnativescript-shine-button","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhamdiwanis%2Fnativescript-shine-button","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhamdiwanis%2Fnativescript-shine-button/lists"}