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

https://github.com/nativescript/nativescript-ui-plugin


https://github.com/nativescript/nativescript-ui-plugin

Last synced: 10 months ago
JSON representation

Awesome Lists containing this project

README

          

# UI Plugin example (Meme generator component)

This plugin shows how you can build UI plugin using NS APIs only. A simple Meme generator component is given as example.

In case you develop UI plugin, this is where you can add some screenshots.

## Installation

Describe your plugin installation steps. Ideally it would be something like:

```javascript
tns plugin add
```

## Usage

You need to add `xmlns:ui=""` to your page tag, and then simply use `` in order to add the widget to your page.

## API

Describe your plugin methods and properties here. See [nativescript-feedback](https://github.com/EddyVerbruggen/nativescript-feedback) for example.

| Property | Default | Description |
| --- | --- | --- |
| imageSource | "" | used to set the src of the image to show as Meme background |
| topText | "" | sets the text at the Top of the Meme |
| bottomText | "" | sets the text at the Bottom of the Meme |

## License

Apache License Version 2.0, January 2004