Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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
```TS

public 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.