On GitHub, shipshapecode/ember-x-editable has picked up 23 stars, JavaScript. X-editable like library for Ember
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
ember-x-editable is built and maintained by Ship Shape. Contact us for Ember.js consulting, development, and training for your project.
Ember-x-editable is inspired by x-editable. It does not have all the same features, and it possibly never will, but I needed an x-editable that played nicely with Ember, so I decided to write this.
If you would like to add functionality, please feel free to submit a PR.
Currently, Bootstrap is bundled with this addon. Eventually, I'd like to just add a dependency on the ember bootstrap addon, or allow it to work without bootstrap. This addon also only works with HTMLBars and Ember 1.11+.
Compatibility
Ember.js v3.12 or above
Ember CLI v2.13 or above
Node.js v10 or above
Installation
ember install ember-x-editable
Demo
http://shipshapecode.github.io/ember-x-editable/
Usage
NOTE: This addon now uses contextual components, so if you were using it previously, and you update, you will need to fix things.
cancelAction (optional) a string representing the action on the controller that you want to execute whenever the user clicks the cancel x.
fontFamilyConfig an array of custom font families that will be passed to the font loader and ensured to be loaded and used for calculating the width of the text in pixels
isFieldEditing a boolean variable that allows you to access the isEditing value outside of the component
saveAction a string representing the action on the controller that you want to execute whenever the user clicks the save check mark.
validator (optional) a function reference to execute against the content string before saving
value a string of text to display
Textarea
{{#ember-x-editable
fontFamilyConfig=fontFamilyConfig
isFieldEditing=isFieldEditing
validator=textareaValidator
value='Textarea test value' as |x|}}
{{x.textarea
cancelAction=(action 'cancelAction')
saveAction=(action 'saveAction')
}}
{{/ember-x-editable}}
cancelAction (optional) a string representing the action on the controller that you want to execute whenever the user clicks the cancel x.
fontFamilyConfig an array of custom font families that will be passed to the font loader and ensured to be loaded and used for calculating the width of the text in pixels
isFieldEditing a boolean variable that allows you to access the isEditing value outside of the component
saveAction a string representing the action on the controller that you want to execute whenever the user clicks the save check mark.
validator (optional) a function reference to execute against the content string before saving
cancelAction (optional) a string representing the action on the controller that you want to execute whenever the user clicks the cancel x.
content An array of objects of the format: [{value: 1, text: 'TestString}]
fontFamilyConfig an array of custom font families that will be passed to the font loader and ensured to be loaded and used for calculating the width of the text in pixels
isFieldEditing a boolean variable that allows you to access the isEditing value outside of the component
saveAction (optional) a string representing the action on the controller that you want to execute whenever the user clicks the save check mark.
validator (optional) a function reference to execute against the content string before saving
value the 'value' of the object in the content array that should be selected
Yes — shipshapecode/ember-x-editable ships under the MIT license, which makes its source code freely readable (and, depending on license terms, forkable and reusable). Source: github.com/shipshapecode/ember-x-editable.
What is shipshapecode/ember-x-editable?
shipshapecode/ember-x-editable (shipshapecode/ember-x-editable) is a JavaScript project on GitHub. From the project's own README: X-editable like library for Ember
What license does shipshapecode/ember-x-editable use?
shipshapecode/ember-x-editable is released under the MIT license. Always verify the LICENSE file directly on GitHub for the authoritative terms — license strings can be edited out of sync with a project's actual stance.
Where can I see shipshapecode/ember-x-editable in action?
The project maintains a homepage at http://shipshapecode.github.io/ember-x-editable/. The README tab on this page also usually contains screenshots and a quickstart.
Where do I read more about shipshapecode/ember-x-editable?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/shipshapecode/ember-x-editable is the definitive source.
Read full README in the tab above.
Still deciding about ember-x-editable?
One click hands the question to an AI along with this page — see what it says about ember-x-editable.