Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 😀😊🚀
- Host: GitHub
- URL: https://github.com/dzfweb/nativescript-emoji
- Owner: dzfweb
- License: other
- Created: 2017-05-21T01:39:27.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-22T20:38:09.000Z (over 5 years ago)
- Last Synced: 2024-11-13T12:45:32.878Z (about 1 month ago)
- Topics: android, emoji, ios, nativescript
- Language: TypeScript
- Homepage:
- Size: 1.98 MB
- Stars: 19
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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