FontAwesomeIcon.hpp

Wraps Font Awesome’s icons.

class FontAwesomeIcon : public Element
#include <FontAwesomeIcon.hpp>

Use FontAwesomeIcon class to add a glyph from the FontAwesome library to your web app. (https://fontawesome.com/v4.7.0/icons/)

Public Functions

inline FontAwesomeIcon(const std::string fa_name, const std::string &id = "")
Parameters:
  • fa_name – the font awesome class of the desired icon

  • id – optional unique id the icon can be referenced by