Created
July 19, 2019 20:10
-
-
Save ScreamingTaco/95d7dc70dc9f777959e483de872bcdc8 to your computer and use it in GitHub Desktop.
Example of how to use vg-for. See vugu docs for more info.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="vg-for-example"> | |
<p vg-for='i := 1; i <= 10; i++' vg-html='strconv.Itoa(i) + ". This is item " + strconv.Itoa(i)'></p> | |
</div> | |
<style> | |
.vg-for-example { font-family: Verdana, Geneva, sans-serif } | |
</style> | |
<script type="application/x-go"> | |
import "strconv" | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Check out Vugu for more info.
Home
Github