{"id":15193867,"url":"https://github.com/bradmartin/nativescript-wave-refresh","last_synced_at":"2025-09-05T05:31:30.506Z","repository":{"id":57308825,"uuid":"62845277","full_name":"bradmartin/nativescript-wave-refresh","owner":"bradmartin","description":"NativeScript plugin for a custom pull to refresh animation/layout","archived":false,"fork":false,"pushed_at":"2018-01-07T19:08:43.000Z","size":2787,"stargazers_count":5,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-20T00:41:50.708Z","etag":null,"topics":["android","nativescript","nativescript-plugin","pull-to-refresh"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/bradmartin.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-07-07T23:53:32.000Z","updated_at":"2024-05-30T16:28:11.000Z","dependencies_parsed_at":"2022-09-01T06:31:56.353Z","dependency_job_id":null,"html_url":"https://github.com/bradmartin/nativescript-wave-refresh","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/bradmartin%2Fnativescript-wave-refresh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bradmartin%2Fnativescript-wave-refresh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bradmartin%2Fnativescript-wave-refresh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bradmartin%2Fnativescript-wave-refresh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bradmartin","download_url":"https://codeload.github.com/bradmartin/nativescript-wave-refresh/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232024708,"owners_count":18461968,"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":["android","nativescript","nativescript-plugin","pull-to-refresh"],"created_at":"2024-09-27T22:06:20.527Z","updated_at":"2024-12-31T19:58:01.074Z","avatar_url":"https://github.com/bradmartin.png","language":"TypeScript","funding_links":["https://www.paypal.me/bradwayne88"],"categories":[],"sub_categories":[],"readme":"[![npm](https://img.shields.io/npm/v/nativescript-wave-refresh.svg)](https://www.npmjs.com/package/nativescript-wave-refresh)\n[![npm](https://img.shields.io/npm/dt/nativescript-wave-refresh.svg?label=npm%20downloads)](https://www.npmjs.com/package/nativescript-wave-refresh)\n[![GitHub stars](https://img.shields.io/github/stars/bradmartin/nativescript-wave-refresh.svg)](https://github.com/bradmartin/nativescript-wave-refresh/stargazers)\n[![PayPal Donate](https://img.shields.io/badge/Donate-PayPal-ff4081.svg)](https://www.paypal.me/bradwayne88)\n\n\n# NativeScript-Wave-Refresh :recycle:\nNativeScript plugin for a custom pull-to-refresh layout.\n\n## Demo\n\n![Demo](./screens/demo.gif)\n\n## Native Library\n[Wave Swipe Refresh Layout](https://github.com/recruit-lifestyle/WaveSwipeRefreshLayout)\n\n## Installation\nFrom your command prompt/termial go to your app's root folder and execute:\n\n`tns plugin add nativescript-wave-refresh`\n\n## Usage\n\n## XML\n```XML\n\u003cpage \n  xmlns=\"http://schemas.nativescript.org/tns.xsd\" \n  xmlns:WR=\"nativescript-wave-refresh\" loaded=\"pageLoaded\"\u003e\n  \u003cActionBar title=\"Wave Refresh\" backgroundColor=\"#FF4081\" color=\"#fff\" /\u003e\n  \u003cstack-layout\u003e\n    \u003cWR:WaveRefresh backgroundColor=\"#FF4081\" refresh=\"{{ stopRefresh }}\" id=\"waveRefresh\"\u003e\n      \u003clist-view items=\"{{ users }}\"\u003e\n        \u003clist-view.itemTemplate\u003e\n          \u003clabel text=\"{{ name }}\" row=\"0\" col=\"1\" textWrap=\"true\" class=\"message\" /\u003e\n        \u003c/list-view.itemTemplate\u003e\n      \u003c/list-view\u003e\n    \u003c/WR:WaveRefresh\u003e\n  \u003c/stack-layout\u003e\n\u003c/page\u003e\n```\n\n## TS\n```TS\nimport { WaveRefresh } from \"nativescript-wave-refresh\"\n\n  public stopRefresh(args: any) {\n    // Load more data here and then set 'refreshing = false' to end the refresh\n    let waveRefresh: WaveRefresh = args.object;\n    waveRefresh.refreshing = false;\n  }\n\n```\n\n\n## Attributes\n**refresh : function** *optional* - function executed when the WaveRefresh starts refreshing.\n\n*backgroundColor* is supported to specify the background color of the wave refresh. This will help to blend it in with the ActionBar.\n\n## API\n\n### refreshing\n\nProperty. Notifies the widget that the refresh state has changed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbradmartin%2Fnativescript-wave-refresh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbradmartin%2Fnativescript-wave-refresh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbradmartin%2Fnativescript-wave-refresh/lists"}