1.0.12 • Published 10 years ago

ngem-form v1.0.12

Weekly downloads
4
License
MIT
Repository
github
Last release
10 years ago

ngem-form

> ngem-form is a simple angular1.x library created for simplifying the work I'm doing in Gemalto 

Notes: Thanks for angular-formly, it teaches me a lot

requirements

  • bootstrap.css

Installation

npm install --save ngem-form

list of directives

  • textfield: decorated text input
  • textblock: decorated textarea

Usage

input

add in your principal module

var app= angular.module("app", ["ngemForm"]);

create a textfield() in html

<textfield></textfield>

or as attribute

<div textfield></div>

configure a textfield

<textfield  label="< label name >" 
            prehold="< preset text >" 
            model="< data model >"
            require="< true or false >"
            minlength="< number >"
            maxlength="< number >"
            rule="< regex expression >">
            </textfield>

Note: textfield with rule could replace some input tags, for example: text, number

1.0.12

10 years ago

1.0.11

10 years ago

1.0.10

10 years ago

1.0.9

10 years ago

1.0.8

10 years ago

1.0.7

10 years ago

1.0.6

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago