dat.gui/elements/gui-row/gui-row.html
George Michael Brower a6854f4e69 start of comments
2014-08-18 17:56:05 -04:00

43 lines
840 B
HTML

<link rel="import" href="../../components/polymer/polymer.html">
<polymer-element name="gui-row" attributes="name comment">
<template>
<div>
<link rel="stylesheet" href="gui-row.css">
<div id="row" class="comment-{{ comment != null }}" layout horizontal center>
<div
id="name"
on-mouseover="{{ openComment }}"
on-mouseout="{{ closeComment }}"
>
<div id="nameInner">{{ name }}</div>
</div>
<div id="controller" flex>
<content></content>
</div>
</div>
<div id="comment"
class="open-{{ commentOpen }}" hidden?="{{ comment == null }}">
<div id="commentInner">{{ comment }}</div>
</div>
</div>
</template>
</div>
<script src="gui-row.js"></script>
</polymer-element>