1.1.4 • Published 6 years ago

tns-material v1.1.4

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

TNS MATERIAL

MaterialUi for Nativescript Angular

Screenshot

ezgif com-video-to-gif

Installation

Run the following command from the root of your project:

tns plugin add tns-material

or

npm i tns-material

This command automatically installs the necessary files, as well as stores tns-material as a dependency in your project's package.json file.

Configuration

There is no additional configuration needed!

API

Events

  • hint

  • focusColor

  • noFocusColor
  • secure
  • keyboardType
  • style

Usage

You need to add FloatTextFieldModule to your page module, and then simply use <FloatTextField></FloatTextField>

<FloatTextField hint="EMAIL" focusColor="#4286f4"></FloatTextField>
<FloatTextField hint="EMAIL" focusColor="#4286f4" secure="true"></FloatTextField>

<FloatTextField [(model)]="name" (messageChange)="name=$event"></FloatTextField>
  • Import FloatTextFieldModule in NgModule:

//......
import { FloatTextFieldModule } from "tns-material";

@NgModule({
  //......
  imports: [
    //......
    FloatTextFieldModule
    //......
   ],
   //......
})
1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago