<template rapid-name="comp" >
<script>
class example extends Component
{
onComponentLoad()
{
this.age = 10;
}
add(){
this.age++;
refresh()
}
}
</script>
<h1 child-id="h1" onclick="self.add()">{{self.age}}</h1>
</template>
the refresh function should update the inline javascript
todo
the refresh function should update the inline javascript
todo