1.0.4 • Published 8 years ago

ng2-ipv4 v1.0.4

Weekly downloads
8
License
-
Repository
github
Last release
8 years ago

angular2 ip input ipV4.

first install

  npm install ng2-ipv4
  

run demo

git clone project

cd project

npm install

npm start

import to you app

in your app.module

import { IpV4Module } from 'ipv4.module'
@NgModule({
  imports: [IpV4Module] // add IpV4Module to imports
})

use it

<ng2-ipv4 [ipInput]="ipValue" [style]="'ip_input'" (ipChanged)="ipValue = $event"></ng2-ipv4>

ipValue is ip value in your app. ip_input is your style for ipV4 input