FontAwesome v4.0.0 FontAwesome.Utils

A module that provides utility functions.

Summary

Functions

Gets the CSS prefix

Prefixes the given binary or list

Functions

css_prefix()

Gets the CSS prefix.

Examples

iex> FontAwesome.Utils.css_prefix
"fa"
css_prefix(values)

Prefixes the given binary or list.

Examples

iex> FontAwesome.Utils.css_prefix(nil)
"fa"

iex> FontAwesome.Utils.css_prefix("custom")
"fa-custom"

iex> FontAwesome.Utils.css_prefix(["custom", "key"])
"fa-custom-key"

iex> FontAwesome.Utils.css_prefix(["custom", nil, "key"])
"fa-custom-key"