<!DOCTYPE html>
<html>
<head>
</head>
<body>
<better-select>
<yield to="options">
<ul>
<li>Option 1</li>
<li>Option 2</li>
</ul>
</yield>
<div>
<yield to="toggle"><span class="icon-down-dir"></span></yield>
</div>
</better-select>
<script type="text/javascript" src="https://rawgit.com/riot/riot/master/riot+compiler.js"></script>
<script type="riot/tag" src="./my-tag.html"></script>
<script type="riot/tag" src="./content.html"></script>
<script type="text/javascript">
riot.mount('*');
</script>
</body>
</html>
<better-select>
<yield from="options"></yield>
<yield from="toggle"></yield>
</better-select>
# Riot Bug Reporter
This is a template for bug reporting.
## How to report
1. [Open this template on Plunker](http://riotjs.com/examples/plunker/?app=bug-reporter)
2. Edit & save
3. Share the url
<content>
this.on('mount', function(){
var el = this.parent.root.querySelector(this.opts.selector)
this.parent.root.replaceChild(el, this.root)
})
</content>