Artifact Content
Artifact eef46625f8e48365b83c4766ba4f5a75d2d27bd4ff8627e260aacfbc1ae03a4a:
- File public/riot-3.13.2/test/tag/loop-strings.tag — part of check-in [12a9bb700d] at 2021-08-11 18:56:04 on branch trunk — Import from git Added a changelog (user: dev size: 307)
<loop-strings> <h3>Array of primitives</h3> <p each="{ val, i in arr }">#{ i }: <strong>{ val }</strong></p> <button onclick={ set }>Update</button> this.arr = [ 'first', 110, Math.random(), 27.12 ] set() { this.arr[0] = 'manipulated' this.arr[2] = Math.random() } </loop-strings>