Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <base href="https://polygit.org/components/">
  <script src="webcomponentsjs/webcomponents-lite.min.js"></script>
  <link href="polymer/polymer.html" rel="import"/>
  <link rel="import" href="paper-input/paper-input.html"/>
</head>
<body>
  <template id="template">
    <h1>{{text}}</h1>
    <input type="text" value="{{text::input}}" />   
    <input type="text" value="{{nested.text::input}}" />
  </template>
  
  <dom-module id="my-app">
    <template>
      <paper-input label="text" value="{{text}}"></paper-input>
      <p>text: &lt;{{text}}&gt;</p>
      
      <template if="true" is="dom-if">
        <div>
          dom-if:
          <input type="text" value="{{text::input}}" />
        </div>
      </template>
    </template>
  </dom-module>
  <my-app></my-app>
</body>
</html>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
tpluscodepro
0viewers