Sha256: cb8c63a1a24abd90d6e198ef591c6a080dd4bf2c239fb07bbacbc3bc9f70a106

Contents?: true

Size: 1021 Bytes

Versions: 10

Compression:

Stored size: 1021 Bytes

Contents

<!--
@license
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
-->
<link rel="import" href="../../polymer/polymer.html">

<script>

  Polymer({

    is: 'simple-form',

    extends: 'form',

    properties: {
      formElements: {
        type: Object,
        notify: true
      }
    },

    listeners: {
      'iron-form-element-register': '_elementRegistered'
    },

    ready: function() {
      this.formElements = [];
    },

    _elementRegistered: function(e) {
      this.formElements.push(e.target);
      this.fire('element-registered');
    }

  });

</script>

Version data entries

10 entries across 10 versions & 4 rubygems

Version Path
polymer-elements-rails-1.0.1 app/assets/components/iron-form-element-behavior/demo/simple-form.html
polymer-elements-rails-1.0.0 app/assets/components/iron-form-element-behavior/demo/simple-form.html
polymer-elements-rails-1.0.0.pre.rc.1 app/assets/components/iron-form-element-behavior/demo/simple-form.html
polymer-paper-rails-1.0.0.pre.rc.3 app/assets/components/iron-form-element-behavior/demo/simple-form.html
polymer-iron-rails-1.0.0.pre.rc.3 app/assets/components/iron-form-element-behavior/demo/simple-form.html
polymer-paper-rails-1.0.0.pre.rc.2 app/assets/components/iron-form-element-behavior/demo/simple-form.html
polymer-iron-rails-1.0.0.pre.rc.2 app/assets/components/iron-form-element-behavior/demo/simple-form.html
polymer-paper-rails-1.0.0.pre.rc.1 app/assets/components/iron-form-element-behavior/demo/simple-form.html
polymer-gold-rails-1.0.0.pre.rc.1 app/assets/components/iron-form-element-behavior/demo/simple-form.html
polymer-iron-rails-1.0.0.pre.rc.1 app/assets/components/iron-form-element-behavior/demo/simple-form.html