Description Usage Arguments Details
Create a font icon.
1 |
name |
name of the icon |
class |
html class attribute to add. See details for an example. |
lib |
font library to use. See details. |
... |
extra items to be passed to the icon. |
This function supports four font libraries at present. A detailed list of fonts
can be found on the pages listed below. The name to pass to fdIcon
should be devoid of any of the suffixes used. For example to use a glyphicon
named glyphicon glyphicon-asterisk
, you would use the name
asterisk
and set lib
to glyphicon
.
You can use the class
argument to add extra classes to the icon. This
is useful when you want to drive behavior. For example an icon marked with
the class popover
could display a help note on being clicked.
font-awesome http://fontawesome.io/icons/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.