This is Ember cli addon for inplace editing
ember install ember-inplace-edit
This addon provides an ember-inplace-edit
component.
Property | Description |
---|---|
text |
text to be displayed before/after editing, it can be controller property wrapping value |
value |
value to be edited |
type |
input/textarea (default: 'input') |
disabled |
disable editing (default: false) |
model |
this will be sent automatically in the action hook (optional) |
autoResize |
If it is false then it will set the width and height of the textarea after editing started, otherwise it will change the size on the fly when you are typing if the `ember-autoresize` addon is installed (default: false) |
placeholder |
placeholder content |
placeholderClass |
placeholder class (optional) |
editIcon |
Edit icon class, ex: fa fa-edit (optional) |
Action | Description |
---|---|
action |
action to be called after editing is done (optionally attached model and the new value will be sent as a parameter) |
Event | Description |
---|---|
on-activated |
it fires when the input/textarea has been inserted into the DOM (params: component container, optionally attached model) |