LoadingIcon.hpp

Wraps Font Awesome’s loading glyph.

This file is part of Empirical, https://github.com/devosoft/Empirical Copyright (C) 2021 Michigan State University MIT Software license; see doc/LICENSE.md

Defines

INCLUDE_EMP_PREFAB_LOADING_ICON_HPP_GUARD
class LoadingIcon : public Element
#include <LoadingIcon.hpp>

Use LoadingIcon class to add a loading glyph from the FontAwesome library to your web app. (https://fontawesome.com/v4.7.0/icon/spinner)

Public Functions

inline LoadingIcon(const std::string &id = "")

Private Members

Element icon = {to_string("span")}
Element text = {to_string("span")}