Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
move polymer-ui-form sample into labs
Browse files Browse the repository at this point in the history
  • Loading branch information
dfreedm committed Oct 14, 2013
1 parent 98d433b commit add2e37
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions dfreedm/polymer-ui-form/polymer-ui-form.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<polymer-element name="polymer-ui-form" attributes="label">
<template>
<style>
@host {
* {
display: block;
}
}
#label {
color: #999;
font-size: 18px;
font-weight: bold;
display: block;
}
#label[filled] {
padding: 14px 8px;
}
</style>
<span id="label" filled?="{{label}}">{{label}}</span>
<content></content>
</template>
<script>
Polymer('polymer-ui-form', {
label: ''
});
</script>
</polymer-element>

0 comments on commit add2e37

Please sign in to comment.