Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/dzfweb/nativescript-emoji

A simple library to add Emoji support to your NativeScript Application 😀😊🚀
https://github.com/dzfweb/nativescript-emoji

android emoji ios nativescript

Last synced: 29 days ago
JSON representation

A simple library to add Emoji support to your NativeScript Application 😀😊🚀

Awesome Lists containing this project

README

        

[![npm](https://img.shields.io/npm/v/nativescript-emoji.svg)](https://www.npmjs.com/package/nativescript-emoji)
[![npm](https://img.shields.io/npm/dt/nativescript-emoji.svg?label=npm%20downloads)](https://www.npmjs.com/package/nativescript-emoji)

# NativeScript Emoji 😀😊🚀

A simple library to add Emoji support to your NativeScript app. Working on Android and iOS

![Emoji](emojiprintscreen.png)

## Instalation
`tns plugin add nativescript-emoji`

## Usage
###### XML
```










```

###### TS
```
import { Emoji } from 'nativescript-emoji';
```

###### ANGULAR
```
import { registerElement } from "nativescript-angular/element-registry";

registerElement("Emoji", () => require("nativescript-emoji").Emoji);
```

###### NATIVESCRIPT-VUE
Add the following to your main.js, app.js or other entry point
```
Vue.registerElement('Emoji', () => require('nativescript-emoji').Emoji)
```

## How to use
Set emoji property name with the short-name of the emoji.

``

With Nativescript-Vue
``

### Available Properties

`name`: emoji short-name

`size`: size to display emoji

The full list you can access on the link below.
https://raw.githubusercontent.com/dzfweb/nativescript-emoji/master/emoji.database.ts