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

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -

python - Error while using APScheduler: 'NoneType' object has no attribute 'now' -