npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript.Learn more »

contact-manage

1.0.4 • Public • Published

contact-manage

Bootstrap 4 / Angular based add/edit form for contacts

travis ci npm version

Coverage Report

Documentation

Demo

Installation

npm install contact-manage - install package

Usage

import {ContactManageModule} from 'contact-manage';

@NgModule({
  imports: [
    ContactManageModule
  ]
})
export class AppModule {
}

And use in template:

<app-contact-add></app-contact-add>

<app-contact-edit
        [backUrl]="['/']"
        [contactId]="id"
></app-contact-edit>

Or in routing:

const routes: Routes = [
  {path: 'add', component: ContactAddComponent}
  {path: 'edit/:id', component: ContactEditComponent}
];

As a result you should see the page with contact form in add or edit mode

install

npm i contact-manage

Downloadsweekly downloads

5

version

1.0.4

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability