This example shows how to switch icons. Click on the button to switch.
Code-example:
<button class="pure-button pure-button-bordered itsa-icon"><i icon="question"></i></button>
<script src="itsabuild-min.js"></script>
<script>
ITSA.Event.after('tap', function(e) {
var button = e.target,
iconNode = button.getElement('i');
iconNode.setAttr('icon', (iconNode.getAttr('icon')==='question') ? 'exclamation' : 'question');
}, 'button');
</script>