https://github.com/nativescript/nativescript-ui-plugin
https://github.com/nativescript/nativescript-ui-plugin
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nativescript/nativescript-ui-plugin
- Owner: NativeScript
- License: apache-2.0
- Created: 2017-06-26T07:49:51.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-01-24T08:07:17.000Z (over 8 years ago)
- Last Synced: 2025-03-24T20:29:36.439Z (about 1 year ago)
- Language: JavaScript
- Size: 1.88 MB
- Stars: 1
- Watchers: 3
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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