{"id":15706311,"url":"https://github.com/bradmartin/nativescript-bored-rudolph","last_synced_at":"2025-05-12T18:47:29.067Z","repository":{"id":57308428,"uuid":"62776831","full_name":"bradmartin/nativescript-bored-rudolph","owner":"bradmartin","description":" :santa: NativeScript plugin for a hidden :christmas_tree: game inside a pull-to-refresh layout.","archived":false,"fork":false,"pushed_at":"2016-07-07T05:29:42.000Z","size":3606,"stargazers_count":5,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-15T12:44:42.174Z","etag":null,"topics":["animation","christmas","game","nativescript","nativescript-plugin","pull-to-refresh","rudolph"],"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-07T05:12:48.000Z","updated_at":"2024-05-30T16:28:01.000Z","dependencies_parsed_at":"2022-09-16T02:24:01.980Z","dependency_job_id":null,"html_url":"https://github.com/bradmartin/nativescript-bored-rudolph","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-bored-rudolph","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bradmartin%2Fnativescript-bored-rudolph/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bradmartin%2Fnativescript-bored-rudolph/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bradmartin%2Fnativescript-bored-rudolph/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bradmartin","download_url":"https://codeload.github.com/bradmartin/nativescript-bored-rudolph/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253802474,"owners_count":21966808,"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","christmas","game","nativescript","nativescript-plugin","pull-to-refresh","rudolph"],"created_at":"2024-10-03T20:22:16.327Z","updated_at":"2025-05-12T18:47:28.778Z","avatar_url":"https://github.com/bradmartin.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![npm](https://img.shields.io/npm/v/nativescript-bored-rudolph.svg)](https://www.npmjs.com/package/nativescript-bored-rudolph)\n[![npm](https://img.shields.io/npm/dt/nativescript-bored-rudolph.svg?label=npm%20downloads)](https://www.npmjs.com/package/nativescript-bored-rudolph)\n\n# NativeScript-Bored-Rudolph :recycle:\nNativeScript plugin for a custom hidden game inside a pull-to-refresh layout.\n\n## Demo\n\n![Demo](./screens/demo.gif)\n\n## Native Library\n[Bored Rudolph](https://github.com/FauDroids/Bored-Rudolf)\n\n## Installation\nFrom your command prompt/termial go to your app's root folder and execute:\n\n`tns plugin add nativescript-bored-rudolph`\n\n## Usage\n\n## XML\n```XML\n\u003cpage \n  xmlns=\"http://schemas.nativescript.org/tns.xsd\" \n  xmlns:BR=\"nativescript-bored-rudolph\" loaded=\"pageLoaded\"\u003e\n  \u003cActionBar title=\"Bored Rudolph\" backgroundColor=\"#BF4066\" color=\"#fff\" /\u003e\n  \u003cstack-layout\u003e\n    \u003cBR:BoredRudolph refresh=\"{{ stopRefresh }}\" id=\"rudolph\"\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/BR:BoredRudolph\u003e\n  \u003c/stack-layout\u003e\n\u003c/page\u003e\n```\n\n## TS\n```TS\n\n  public stopRefresh(args: any) {\n    // Load more data here and then set 'refreshing = false' to end the refresh\n    let boredRudolph: BoredRudolph = args.object;\n    boredRudolph.refreshing = false;\n  }\n\n```\n\n\n## Attributes\n**refresh : function** *optional* - this event is triggered when you set the BoredRudoplh *refresh* property equal to false.\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-bored-rudolph","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbradmartin%2Fnativescript-bored-rudolph","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbradmartin%2Fnativescript-bored-rudolph/lists"}