iron-form-element-behavior

WebJar for iron-form-element-behavior

License

License

BSD 3-Clause
Categories

Categories

ORM Data
GroupId

GroupId

org.webjars.bowergithub.polymerelements
ArtifactId

ArtifactId

iron-form-element-behavior
Last Version

Last Version

3.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

iron-form-element-behavior
WebJar for iron-form-element-behavior
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/PolymerElements/iron-form-element-behavior

Download iron-form-element-behavior

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bowergithub.polymerelements/iron-form-element-behavior/ -->
<dependency>
    <groupId>org.webjars.bowergithub.polymerelements</groupId>
    <artifactId>iron-form-element-behavior</artifactId>
    <version>3.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bowergithub.polymerelements/iron-form-element-behavior/
implementation 'org.webjars.bowergithub.polymerelements:iron-form-element-behavior:3.0.1'
// https://jarcasting.com/artifacts/org.webjars.bowergithub.polymerelements/iron-form-element-behavior/
implementation ("org.webjars.bowergithub.polymerelements:iron-form-element-behavior:3.0.1")
'org.webjars.bowergithub.polymerelements:iron-form-element-behavior:jar:3.0.1'
<dependency org="org.webjars.bowergithub.polymerelements" name="iron-form-element-behavior" rev="3.0.1">
  <artifact name="iron-form-element-behavior" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bowergithub.polymerelements', module='iron-form-element-behavior', version='3.0.1')
)
libraryDependencies += "org.webjars.bowergithub.polymerelements" % "iron-form-element-behavior" % "3.0.1"
[org.webjars.bowergithub.polymerelements/iron-form-element-behavior "3.0.1"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

Published on NPM Build status Published on webcomponents.org

IronFormElementBehavior

IronFormElementBehavior adds a name, value and required properties to a custom element. This element is deprecated, and only exists for back compatibility with Polymer 1.x (where iron-form was a type extension), and it is not something you want to use. No contributions or fixes will be accepted.

See: Documentation.

Usage

Installation

npm install --save @polymer/iron-form-element-behavior

In a Polymer 3 element

import {PolymerElement, html} from '@polymer/polymer';
import {mixinBehaviors} from '@polymer/polymer/lib/legacy/class.js';
import {IronFormElementBehavior} from '@polymer/iron-form-element-behavior/iron-form-element-behavior.js';

class SampleElement extends mixinBehaviors([IronFormElementBehavior], PolymerElement) {
  static get template() {
    return html`
      <style>
        :host {
          display: block;
        }
      </style>
      <input name="[[name]]" value="{{value}}">
    `;
  }
}
customElements.define('sample-element', SampleElement);
org.webjars.bowergithub.polymerelements

Versions

Version
3.0.1
2.1.3
2.1.2
2.1.1
2.0.0
1.0.7