dat.gui/elements/gui-row/gui-row.html

42 lines
894 B
HTML
Raw Normal View History

2014-08-27 00:01:15 +00:00
<link rel="import" href="../../../polymer/polymer.html">
2014-10-11 19:39:16 +00:00
<polymer-element name="gui-row" attributes="name comment disabled">
2014-08-27 00:01:15 +00:00
<template>
2014-10-11 19:39:16 +00:00
<link rel="stylesheet" href="gui-row.css">
2014-08-27 00:01:15 +00:00
2014-10-11 19:39:16 +00:00
<div id="container" class="disabled-{{ disabled }}">
2014-08-27 00:01:15 +00:00
<div id="row" class="comment-{{ comment != null }}" layout horizontal>
<div
id="name"
on-mouseover="{{ openComment }}"
on-mouseout="{{ closeComment }}"
layout horizontal center
>
<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>
<script src="gui-row.js"></script>
</polymer-element>