{"id":15141905,"url":"https://github.com/peterstaev/nativescript-swipe-view","last_synced_at":"2025-08-02T05:35:34.403Z","repository":{"id":149992282,"uuid":"622581923","full_name":"PeterStaev/nativescript-swipe-view","owner":"PeterStaev","description":"Easily add actions to ListView items","archived":false,"fork":false,"pushed_at":"2023-04-05T06:31:14.000Z","size":257,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-04T03:41:52.305Z","etag":null,"topics":["actions","android","ios","listview","nativescript","nativescript-plugin","swipe"],"latest_commit_sha":null,"homepage":"","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/PeterStaev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":["https://revolut.me/petarstaev"]}},"created_at":"2023-04-02T14:38:53.000Z","updated_at":"2024-05-30T16:45:34.000Z","dependencies_parsed_at":"2023-04-07T08:38:28.315Z","dependency_job_id":null,"html_url":"https://github.com/PeterStaev/nativescript-swipe-view","commit_stats":{"total_commits":13,"total_committers":2,"mean_commits":6.5,"dds":"0.15384615384615385","last_synced_commit":"611be62c04dac0a3ebbe92d1a6d7dc934624321b"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/PeterStaev/nativescript-swipe-view","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterStaev%2Fnativescript-swipe-view","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterStaev%2Fnativescript-swipe-view/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterStaev%2Fnativescript-swipe-view/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterStaev%2Fnativescript-swipe-view/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PeterStaev","download_url":"https://codeload.github.com/PeterStaev/nativescript-swipe-view/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterStaev%2Fnativescript-swipe-view/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268339411,"owners_count":24234544,"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","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["actions","android","ios","listview","nativescript","nativescript-plugin","swipe"],"created_at":"2024-09-26T09:20:24.249Z","updated_at":"2025-08-02T05:35:34.356Z","avatar_url":"https://github.com/PeterStaev.png","language":"TypeScript","funding_links":["https://revolut.me/petarstaev"],"categories":[],"sub_categories":[],"readme":"# NativeScript Swipe View\n\nA NativeScript plugin to create a swipe view with actions. This is mainly to be used as items for ListView to add swipe actions for items. But can also be used in other scenarios\n\n## Installation\n\nRun the following command from the root of your project:\n\n`tns plugin add nativescript-swipe-view`\n\nThis command automatically installs the necessary files, as well as stores nativescript-swipe-view as a dependency in your project's package.json file.\n\n## Usage (Core)\n\n```xml\n\u003cListView items=\"{{ items }}\"\u003e\n    \u003cListView.itemTemplate\u003e\n        \u003csv:SwipeView\u003e\n            \u003csv:SwipeView.leftActionsTemplate\u003e\n                \u003cStackLayout backgroundColor=\"blue\" color=\"white\" tap=\"onStar\"\u003e\n                    \u003cLabel text=\"Star\"/\u003e\n                \u003c/StackLayout\u003e\n            \u003c/sv:SwipeView.leftActionsTemplate\u003e\n            \u003csv:SwipeView.rightActionsTemplate\u003e\n                \u003cStackLayout backgroundColor=\"red\" color=\"white\" tap=\"onDelete\"\u003e\n                    \u003cLabel text=\"Delete\" /\u003e\n                \u003c/StackLayout\u003e\n            \u003c/sv:SwipeView.rightActionsTemplate\u003e\n\n            \u003cGridLayout backgroundColor=\"white\"\u003e\n                \u003cLabel text=\"{{ value }}\" verticalAlignment=\"center\"/\u003e\n            \u003c/GridLayout\u003e\n        \u003c/sv:SwipeView\u003e\n    \u003c/ListView.itemTemplate\u003e\n\u003c/ListView\u003e\n```\n\n## Usage in other NativeScript flavors (Angular, Vue, etc.)\n\nCurrently the plugin has not been tested nor made to support other NS flavors, since I'm not actively using those. If you are such a dev, I'm happily accepting PRs to support all the NS flavors ot there :)\n\n## License\n\nApache License Version 2.0, January 2004\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterstaev%2Fnativescript-swipe-view","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeterstaev%2Fnativescript-swipe-view","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterstaev%2Fnativescript-swipe-view/lists"}