I add new propery site/header.js and events for example;
Html;
Code:
'click a.action': function (e) { console.log("test"); }, actionTest: function () { this.getRouter().dispatch(null, 'test'); this.getRouter().navigate('', {trigger: false}); },
Code:
<li><a href="action" data-action="test">Test</a></li>
Comment