FontAwesome v4.0.0 FontAwesome.Config

A module that is used to access application-wide defaults.

Summary

Functions

Determines whether all icons are fixed width by default

Gets the default name of the helper function that is created in modules using the FontAwesome module

Functions

fixed_width?()

Determines whether all icons are fixed width by default.

Examples

iex> Application.delete_env(:font_awesomex, :fixed_width)
iex> FontAwesome.Config.fixed_width?
false

iex> Application.put_env(:font_awesomex, :fixed_width, false)
iex> FontAwesome.Config.fixed_width?
false

iex> Application.put_env(:font_awesomex, :fixed_width, true)
iex> FontAwesome.Config.fixed_width?
true
helper_name()

Gets the default name of the helper function that is created in modules using the FontAwesome module.

Examples

iex> Application.delete_env(:font_awesomex, :helper_name)
iex> FontAwesome.Config.helper_name
:icon

iex> Application.put_env(:font_awesomex, :helper_name, :fa_icon)
iex> FontAwesome.Config.helper_name
:fa_icon