title: Switch between icons when using FontAwesome 5.0 SVG Framework
body: <p>I'm looking to be able to switch between icons in Javascript while using the new FontAwesome SVG framework.</p>
  
  <p>Previously in the old WebFont method, this was achieved by toggling or changing the class on the  tag, however as these are now rendered as SVG's in the source code this no longer works.</p>
  
  <p>Is there a way to do this without needing to render both SVG icons in source code and using additional classes/CSS to toggle display?</p>