Lets say I have an event
<event-handler event="test" access="public">
<view-page name="testPage" contentArg="TestPageHTML" />
</event-handler>
The only code the view page contains is
<script>
console.log('tester');
</script>
Now when I run the event the log runs!!..
I don't understand what is happening here.. surely the HTML is stored as variable and only when it is out put in another view will it render.
No javascript should be running in my example above since the page has not been rendered.
Any help would be appreciated
Alex