Skip to content

Instantly share code, notes, and snippets.

@yesh0907
Last active August 29, 2015 14:11
Show Gist options
  • Select an option

  • Save yesh0907/ec5907da3d9f263e0a4a to your computer and use it in GitHub Desktop.

Select an option

Save yesh0907/ec5907da3d9f263e0a4a to your computer and use it in GitHub Desktop.

Revisions

  1. yesh0907 revised this gist Dec 20, 2014. 1 changed file with 11 additions and 1 deletion.
    12 changes: 11 additions & 1 deletion designer.html
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    <link rel="import" href="../polymer/polymer.html">
    <link rel="import" href="../ace-element/ace-element.html">

    <polymer-element name="my-element">

    @@ -10,7 +10,17 @@
    height: 100%;
    box-sizing: border-box;
    }
    #ace_element {
    width: 400px;
    height: 300px;
    left: 210px;
    top: 10px;
    position: absolute;
    }
    </style>
    <ace-element id="ace_element">function test() {
    var x = true;
    }</ace-element>
    </template>

    <script>
  2. yesh0907 created this gist Dec 20, 2014.
    24 changes: 24 additions & 0 deletions designer.html
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,24 @@
    <link rel="import" href="../polymer/polymer.html">

    <polymer-element name="my-element">

    <template>
    <style>
    :host {
    position: absolute;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    }
    </style>
    </template>

    <script>

    Polymer({

    });

    </script>

    </polymer-element>