@thinkeloquent/es6-dom-form

0.0.4 • Public • Published

es6-dom-form

The HTML

element represents a document section that contains interactive controls to submit information to a web server.

Installation

npm install --save-dev @thinkeloquent/es6-dom-form
Node Packaged Modules (https://www.npmjs.com/package/@thinkeloquent/es6-dom-form)

Usage

Adding @thinkeloquent/es6-dom-form to an existing Karma config
const es6DomForm = require('@thinkeloquent/es6-dom-form');

Examples

const es6DomForm = require('@thinkeloquent/es6-dom-form');

const example = angular.module('example', ['ngMessages']);
es6DomForm['angular']['1.5.x'].register(example);
example.controller('BaseController', function($scope) {
  const vm = this;
  vm.name = 'frmExample';
  vm.onSubmit = function() {};
  vm.initialize = function($form) { }
});
<form>
  <es6-dom-form name="$ctrl.name" ng-submit="$ctrl.onSubmit()" initialize="$ctrl.initialize">
    <!-- fields -->
  </es6-dom-form>
</form>

Resources

Authors

License

(The MIT License)

Copyright (c) 2014 Carlos Marte <opensource@carlosmarte.me>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

This file was generated on November 20 2016.

Dependencies (2)

Dev Dependencies (23)

Package Sidebar

Install

npm i @thinkeloquent/es6-dom-form

Weekly Downloads

1

Version

0.0.4

License

MIT

Last publish

Collaborators

  • thinkeloquent