Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bradmartin/nativescript-bored-rudolph
:santa: NativeScript plugin for a hidden :christmas_tree: game inside a pull-to-refresh layout.
https://github.com/bradmartin/nativescript-bored-rudolph
animation christmas game nativescript nativescript-plugin pull-to-refresh rudolph
Last synced: 27 days ago
JSON representation
:santa: NativeScript plugin for a hidden :christmas_tree: game inside a pull-to-refresh layout.
- Host: GitHub
- URL: https://github.com/bradmartin/nativescript-bored-rudolph
- Owner: bradmartin
- License: other
- Created: 2016-07-07T05:12:48.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-07-07T05:29:42.000Z (over 8 years ago)
- Last Synced: 2024-10-17T07:29:31.438Z (about 1 month ago)
- Topics: animation, christmas, game, nativescript, nativescript-plugin, pull-to-refresh, rudolph
- Language: TypeScript
- Homepage:
- Size: 3.44 MB
- Stars: 5
- Watchers: 4
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![npm](https://img.shields.io/npm/v/nativescript-bored-rudolph.svg)](https://www.npmjs.com/package/nativescript-bored-rudolph)
[![npm](https://img.shields.io/npm/dt/nativescript-bored-rudolph.svg?label=npm%20downloads)](https://www.npmjs.com/package/nativescript-bored-rudolph)# NativeScript-Bored-Rudolph :recycle:
NativeScript plugin for a custom hidden game inside a pull-to-refresh layout.## Demo
![Demo](./screens/demo.gif)
## Native Library
[Bored Rudolph](https://github.com/FauDroids/Bored-Rudolf)## Installation
From your command prompt/termial go to your app's root folder and execute:`tns plugin add nativescript-bored-rudolph`
## Usage
## XML
```XML
```
## TS
```TSpublic stopRefresh(args: any) {
// Load more data here and then set 'refreshing = false' to end the refresh
let boredRudolph: BoredRudolph = args.object;
boredRudolph.refreshing = false;
}```
## Attributes
**refresh : function** *optional* - this event is triggered when you set the BoredRudoplh *refresh* property equal to false.## API
### refreshing
Property. Notifies the widget that the refresh state has changed.