Skip to content
Font Awesome for Appcelerator (Titanium) Mobile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
fonts
.gitignore
LICENSE
README.md
fontAwesome.js

README.md

ti-fontawesome

Fontawesome for Appcelerator (Titanium) Mobile

Description

This is made to have a mapping between the Fontawesome CSS classes and the unicode characters to be usable.

There is also a sample functionality to create a Ti.UI.createLabel() with the icon as text. Labels can be added to almost any other Ti element.

Fontawesome 4.5 is currently supported.

Usage

Copy the font file

Copy the fontawesome-webfont.ttf file to /Resources/fonts/

Include the module via

var fontAwesome = require('/ui/fontAwesome');
fa = new fontAwesome();

var label = fa.createLabel({
	icon: 'fa-fort-awesome'
});
You can’t perform that action at this time.