New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@savantly/ngx-inline-edit

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@savantly/ngx-inline-edit

[![Build Status](https://travis-ci.org/savantly-net/ngx-inline-edit.svg?branch=master)](https://travis-ci.org/savantly-net/ngx-inline-edit)

latest
Source
npmnpm
Version
0.3.0
Version published
Maintainers
1
Created
Source

Build Status

ngx-inline-edit

Inline editing for Angular and Material

An input box appears when you click on the text, with confirm/cancel buttons.
I use this as an alternative to submitting an entire form. Whereas a single field, when modified, can be sent to persistent storage.
Easy peasy!

Feel free to create PRs and suggest updates.

See this example - example use

Example

Install npm install @savantly/ngx-inline-edit

Include the module in your project -

import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { NgModule } from '@angular/core';


import { AppComponent } from './app.component';
import { InlineEditModule } from '@savantly/ngx-inline-edit';


@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    BrowserAnimationsModule,
    InlineEditModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

Use the directive -

<inline-input-edit 
    [label]="'Test Label'" 
    [required]="true" 
    [prefix]="'<b>$</b>&nbsp;'" 
    [changed]="onChange"
    ([value])="value">
</inline-input-edit>

Example

Editing

Editing2

Viewing

Keywords

angular

FAQs

Package last updated on 13 Feb 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts