xtal-formation

WebJar for xtal-formation

License

License

MIT
Categories

Categories

ORM Data
GroupId

GroupId

org.webjars.bowergithub.bahrus
ArtifactId

ArtifactId

xtal-formation
Last Version

Last Version

0.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

xtal-formation
WebJar for xtal-formation
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/bahrus/xtal-formation

Download xtal-formation

How to add to project

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

Dependencies

compile (2)

Group / Artifact Type Version
org.webjars.bowergithub.polymer : polymer jar [2.0.0,3)
org.webjars.bowergithub.bahrus : xtal-json-editor jar [0.0.6,0.0.7)

Project Modules

There are no modules declared in this project.

Published on webcomponents.org

<xtal-formation>

<xtal-formation> declaratively creates objects or http request parameters based on the HTML Form element.

<xtal-formation> is somewhat inspired by Polymer's <iron-form> component. The major differences are:

  • <xtal-formation> has no legacy Polymer dependencies
  • <xtal-formation> does not have any logic to actually submit the form. Instead, its focus is squarely on providing to other components the form input elements in various formats that might be most useful, and applying the validation logic built into the form element / input elements.

Referencing <xtal-formation>

You can reference the component the Polymer < 3 way:

<link rel="import" href="../xtal-formation.html">

But if you don't want to be tied to using HTML Imports, you can instead provide your own reference to Polymer.Element independently, from wherever you choose, and just reference the javascript file directly:

<script async src="../xtal-formation.js"></script>

Or you can use ES6 modules:

<script type="module" src="../xtal-formation.js"></script>

Install the Polymer-CLI

First, make sure you have the Polymer CLI installed. Then run polymer serve to serve your element locally.

Viewing Your Element

$ polymer serve

Running Tests

$ polymer test

Your application is already set up to be tested via web-component-tester. Run polymer test to run your application's test suite locally.

Versions

Version
0.0.1