Skip to content
This repository has been archived by the owner on Jul 5, 2018. It is now read-only.

Latest commit

 

History

History
42 lines (32 loc) · 800 Bytes

README.md

File metadata and controls

42 lines (32 loc) · 800 Bytes

No Maintenance Intended

Version 0.0.2

ion-md-input

A material design inspired text input for Ionic Framework

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