divshot / ele-web

Ele, the in-browser development environment for Web Components.
https://ele.io/
MIT License
42 stars 9 forks source link

Potentially missing file? : /polymer/layout.html #27

Closed SockMonster1 closed 9 years ago

SockMonster1 commented 9 years ago

Am I the only one having issues trying to reference layout.html? I tried to import it using:

    <link rel="import" href="../polymer/layout.html">

But that doesn't seem to do anything as it does in the Polymer documentation: https://www.polymer-project.org/docs/polymer/layout-attrs.html using:

    <div vertical layout>
      <div>Alpha</div>
      <div flex>Beta (flex)</div>
      <div>Gamma</div>
    </div>

Cheers Sock

mbleigh commented 9 years ago

Actually, just importing polymer.html gives you all the layout attributes!

<link rel="import" href="../polymer/polymer.html">

:+1: :wolf:

SockMonster1 commented 9 years ago

Ahh, I forgot to assign a width and height to the 'vertical layout' container which caused some eerie results. Thank-you!