Custom element in

agolangf · · 193 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>I&#39;ve started playing with <a href=""></a> and it seems like a nice package for using React with GopherJS. However, the godocs are pretty sparse because the code itself is lightly commented.</p> <p>While it has many HTML5 element types, it is missing a few, and as luck would have it, the web app that I am translating from Elm uses <code>&lt;main&gt;&lt;/main&gt;</code>, one of the missing elements.</p> <p>I am trying to figure out how to create a custom element in this library, but it is not clear. Has anyone done this without forking the repo and modifying it? How?</p> <hr/>**评论:**<br/><br/>brianketelsen: <pre><p>I copied a link to this question into in the #gopherjs channel where Paul Jolly is known to chat.</p></pre>myitcv: <pre><p>Thanks for the interest - I&#39;ve responded to your PR over at <a href="" rel="nofollow"></a> with a more comprehensive answer.</p></pre>

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

193 次点击  
加入收藏 微博
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传