this.one('mount',function(){ this.refs.ed.forEach((el,i)=>{ el.textContent=this.items[i].text; }) }) <script src="//gnjo.github.io/riot.js"></script> <loop></loop> <style> body{margin:0;width:100vw;height:100vh;} .f{ display:flex;flex-direction:row; width:80%;height:100%;justify-content:center; margin:auto; } .f>ul{margin:0;padding:0;width:100%;height:100%;} .f>ul li{ list-style:none; min-height:1

