Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

@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.

install

npm i @thinkeloquent/es6-dom-form

Downloadsweekly downloads

0

version

0.0.4

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability