Skip to content

A material design inspired text input for Ionic Framework - forked to update the CSS state when the input value is changed programmatically.

License

Notifications You must be signed in to change notification settings

tomdrewes/ion-md-input

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Version 1.0.6

ion-md-input

A material design inspired text input for Ionic Framework - forked to update the CSS state when the input value is changed programmatically. The units in the stylesheet have also been changed to rems.

Usage

<ion-md-input placeholder="Name" highlight-color="energized" type="text"></ion-md-input>

You can use any attribute that angular provides.

  ng-model=""
  [name=""]
  [required=""]
  [ng-required=""]
  [ng-minlength=""]
  [ng-maxlength=""]
  [ng-pattern=""]
  [ng-change=""]
  [ng-trim=""]

Install

bower install ion-md-input

Reference both the js and css file.

And the angular module as a dependency

angular.module('ionicApp', ['ionic', 'ionMdInput'])

##Demo

Talk is cheap, where's the code...

Demo of the input

About

A material design inspired text input for Ionic Framework - forked to update the CSS state when the input value is changed programmatically.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 68.2%
  • CSS 31.8%