Skip to content

Create a function to refresh all components values #39

@spynetS

Description

@spynetS
<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

  • Seperate replaceCompontents to it can only compile a given compontent
  • make this.rerender function replace compontens inside its body if there are any

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    Status

    In progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions