Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <link rel="import" href="../core-input/core-input.html">
- <link rel="import" href="../paper-button/paper-button.html">
- <link rel="import" href="../paper-checkbox/paper-checkbox.html">
- <link rel="import" href="../paper-radio-button/paper-radio-button.html">
- <polymer-element name="my-element">
- <template>
- <style>
- :host {
- position: absolute;
- width: 100%;
- height: 100%;
- box-sizing: border-box;
- top: 0px;
- left: 0px;
- }
- #input {
- padding: 15px;
- left: 150px;
- top: 100px;
- position: absolute;
- }
- #paper_button {
- left: 300px;
- top: 100px;
- position: absolute;
- }
- #paper_checkbox {
- left: 240px;
- top: 220px;
- position: absolute;
- }
- #paper_radio_button {
- left: 240px;
- top: 300px;
- position: absolute;
- }
- </style>
- <input id="input" placeholder="type something..." is="core-input" horizontal layout>
- <paper-button id="paper_button" horizontal layout wrap>button</paper-button>
- <paper-checkbox label="click me" id="paper_checkbox"></paper-checkbox>
- <paper-radio-button checked label="Radio Button" id="paper_radio_button"></paper-radio-button>
- </template>
- <script>
- Polymer({
- });
- </script>
- </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement