mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
42 lines
894 B
HTML
42 lines
894 B
HTML
<link rel="import" href="../../../polymer/polymer.html">
|
|
|
|
<polymer-element name="gui-row" attributes="name comment disabled">
|
|
|
|
<template>
|
|
|
|
<link rel="stylesheet" href="gui-row.css">
|
|
|
|
<div id="container" class="disabled-{{ disabled }}">
|
|
|
|
<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> |