Item12666: add font-awesome to JQueryPlugin

pencil
Priority: Enhancement
Current State: Closed
Released In: 2.0.0
Target Release: major
Applies To: Extension
Component: JQueryPlugin
Branches: trunk master
Reported By: MichaelDaum
Waiting For:
Last Change By: GeorgeClark
See http://fontawesome.io/icons/

There are two ways to make use of these fonts:

(1) via %JQREQUIRE{"font-awesome"}% and then have <i class="fa fa-pencil"> markup

(2) via %JQICON{"fa-pencil" color="..." size="..."}% ... icons named fa-... will use the font-awesome mechanisms, and default to the normal way searching along the iconpath otherwise.

There are some theme changes required to use FA icons where jquery-ui icons would normally be used. So things like <i class="ui-icon fa fa-star"> should just work, i.e. push them to the left in jquery-ui menu entries, etc.

-- MichaelDaum - 26 Nov 2013

 
Topic revision: r8 - 05 Jul 2015, GeorgeClark - This page was cached on 30 Jun 2016 - 23:19.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License