Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/bradmartin/nativescript-explosionfield

:collision: NativeScript plugin to create an exploding particle animation :collision:
https://github.com/bradmartin/nativescript-explosionfield

android animation explosionfield nativescript-plugin ui-components

Last synced: 25 days ago
JSON representation

:collision: NativeScript plugin to create an exploding particle animation :collision:

Awesome Lists containing this project

README

        

[![npm](https://img.shields.io/npm/v/nativescript-explosionfield.svg)](https://www.npmjs.com/package/nativescript-explosionfield)
[![npm](https://img.shields.io/npm/dt/nativescript-explosionfield.svg?label=npm%20downloads)](https://www.npmjs.com/package/nativescript-explosionfield)
[![GitHub stars](https://img.shields.io/github/stars/bradmartin/nativescript-explosionfield.svg)](https://github.com/bradmartin/nativescript-explosionfield/stargazers)
[![PayPal Donate](https://img.shields.io/badge/Donate-PayPal-ff4081.svg)](https://www.paypal.me/bradwayne88)

# NativeScript-ExplosionField
NativeScript plugin to create an exploding dust effect animation for Android {N} apps.

[*ExplosionField*](https://github.com/tyrantgit/ExplosionField) - **tyrantgit**

*Android Only*

## Installation
`npm install nativescript-explosionfield`

## Sample

![GifExample](./screens/explode.gif)

**This .gif does not do the animation justice, please watch the YouTube video
to see how smooth it really is. [Watch here on YouTube](https://youtu.be/pjFZgDMvioY)**

## Usage

### XML
```XML






```

### JS
```JS
// require the plugin module
var explosion = require("nativescript-explosionfield");

function goBoom(args) {
// call the *explode* method on the plugin passing in a view
// on tap events in Nativescript this will be args.object.
explosion.explode(args.object);
}
exports.goBoom = goBoom;
```

### API

**explode(view)**
- executes the animation