javascript - Switch between icons when using FontAwesome 5.0 SVG Framework -


i'm looking able switch between icons in javascript while using new fontawesome svg framework.

previously in old webfont method, achieved toggling or changing class on tag, these rendered svg's in source code no longer works.

is there way without needing render both svg icons in source code , using additional classes/css toggle display?


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -