ng-inline-edit

WebJar for ng-inline-edit

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

ng-inline-edit
Last Version

Last Version

0.7.0
Release Date

Release Date

Type

Type

jar
Description

Description

ng-inline-edit
WebJar for ng-inline-edit
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/tameraydin/ng-inline-edit

Download ng-inline-edit

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/ng-inline-edit/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>ng-inline-edit</artifactId>
    <version>0.7.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/ng-inline-edit/
implementation 'org.webjars.npm:ng-inline-edit:0.7.0'
// https://jarcasting.com/artifacts/org.webjars.npm/ng-inline-edit/
implementation ("org.webjars.npm:ng-inline-edit:0.7.0")
'org.webjars.npm:ng-inline-edit:jar:0.7.0'
<dependency org="org.webjars.npm" name="ng-inline-edit" rev="0.7.0">
  <artifact name="ng-inline-edit" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='ng-inline-edit', version='0.7.0')
)
libraryDependencies += "org.webjars.npm" % "ng-inline-edit" % "0.7.0"
[org.webjars.npm/ng-inline-edit "0.7.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

ng-inline-edit Build Status Code Climate Coverage Status

Demo

Usage

Install ng-inline-edit via Bower:

bower install ng-inline-edit --production

Include main files:

<link rel="stylesheet" href="bower_components/ng-inline-edit/dist/ng-inline-edit.min.css">
<script src="bower_components/ng-inline-edit/dist/ng-inline-edit.min.js"></script>

Include angularInlineEdit module as a dependency into your app:

angular
  .module('yourApp', [
    'angularInlineEdit'
  ]);

Pass your model to inline-edit attribute on your HTML element and provide a callback function to listen changes:

<span inline-edit="yourModel"></span>
<!-- with optional attributes:
  inline-edit-callback="yourListener(newValue)"
  inline-edit-validation="yourValidator(enteredValue)"
  inline-edit-placeholder="Type a value..."
  inline-edit-filter="currency"
  inline-edit-btn-edit="Click to edit"
  inline-edit-btn-save="Save me"
  inline-edit-btn-cancel="Nevermind"
  inline-edit-on-blur="cancel" // 'cancel' or 'save'
  inline-edit-on-click
  inline-edit-textarea // uses <textarea> instead <input> & disables Enter key submit
-->

Development

See the instructions at ng-pack.

License

MIT http://tameraydin.mit-license.org/

Versions

Version
0.7.0