mix-function
Calls a function in Javascript. The content inside the tag will
be passed to the function as an argument. This could be useful when triggering a function
after the respose has arrived in the browser.
The function can take zero or one argument. If there is a need to pass multiple arguments,
then pass an array or json structure that can later be parsed in the code.
In the following example,
the function test will be run. The data inside the tag will be passed
to the function as the argument. This means, that the test
function could be defined like: function test(data){...}
<browser mix-function="test">[{"id":1,"name":"a"}]</browser>