Skip to content

This repo guides through the process of creating UI plugin using Custom Component

License

Notifications You must be signed in to change notification settings

eavd/nativescript-ui-plugin-custom

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UI Plugin example (Custom button component)

This plugin shows how you can build UI plugin using a Custom Component. A simple Button is given as example.

Installation

To install the plugin:

tns plugin add nativescript-ui-plugin-custom

Usage

You need to add xmlns:ui="nativescript-ui-plugin-custom" to your page tag, and then simply use <ui:MyButton text="MyButton1" /> in order to add the widget to your page.

API

Describe your plugin methods and properties here. See nativescript-feedback for example.

Property Default Description
text "" used to set the text of the button
tap "" sets the callback that is called when the button is tapped

License

Apache License Version 2.0, January 2004

About

This repo guides through the process of creating UI plugin using Custom Component

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 48.8%
  • JavaScript 44.1%
  • Shell 7.1%