Skip to content

Instantly share code, notes, and snippets.

@designer-polymer
Created June 12, 2014 23:53
Show Gist options
  • Select an option

  • Save designer-polymer/26c5963141df1268184a to your computer and use it in GitHub Desktop.

Select an option

Save designer-polymer/26c5963141df1268184a to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../paper-form/paper-form.html">
<link rel="import" href="../paper-form/paper-fields.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#paper_form {
left: 90px;
top: 60px;
position: absolute;
width: 720px;
height: 590px;
}
</style>
<paper-form id="paper_form" segment vertical layout>
<paper-row id="paper_row" horizontal layout center wrap novanish>
<input-field validator="numchars" name="Field Name" value="abcdefg" editvalue="abcdefg" id="input_field" kind="input" layout horizontal center field flex></input-field>
</paper-row>
</paper-form>
</template>
<script>
Polymer('my-element', {
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment