1.0.12 • Published 8 years ago

ngem-form v1.0.12

Weekly downloads
4
License
MIT
Repository
github
Last release
8 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

8 years ago

1.0.11

8 years ago

1.0.10

8 years ago

1.0.9

8 years ago

1.0.8

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago