1.1.1 • Published 7 years ago

nativescript-emoji v1.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

npm npm

NativeScript Emoji 😀😊🚀

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

Emoji

Instalation

tns plugin add nativescript-emoji

Usage

XML
<Page xmlns="http://schemas.nativescript.org/tns.xsd" xmlns:Emoji="nativescript-emoji" navigatingTo="navigatingTo" class="page">  
    <Page.actionBar>
        <ActionBar title="NativeScript Emoji" icon="" class="action-bar">
        </ActionBar>
    </Page.actionBar>
    <StackLayout orientation="horizontal">
        <Label text="I'm happy "> </Label>
        <Emoji:Emoji name="joy" />
        <Emoji:Emoji name="joy" />
        <Emoji:Emoji name="joy" />
    </StackLayout>
</Page>
TS
import { Emoji } from 'nativescript-emoji';
ANGULAR
import { registerElement } from "nativescript-angular/element-registry";

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

How to use

Set emoji property name with the short-name of the emoji.

<Emoji:Emoji name="joy" />

Available Properties

name: emoji short-name

size: size to display emoji

The full list you can access on the link below. http://apps.timwhitlock.info/emoji/tables/unicode

1.1.1

7 years ago

1.1.0

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago