All Projects → shipshapecode → ember-x-editable

shipshapecode / ember-x-editable

Licence: MIT license
X-editable like library for Ember

Programming Languages

javascript
184084 projects - #8 most used programming language
SCSS
7915 projects
Handlebars
879 projects
HTML
75241 projects

Projects that are alternatives of or similar to ember-x-editable

ember-ref-bucket
This is list of handy ember primitives, created to simplify class-based dom workflow
Stars: ✭ 31 (+47.62%)
Mutual labels:  ember
ember-shadow-dom
Write templates for your components inside of a Shadow DOM root.
Stars: ✭ 26 (+23.81%)
Mutual labels:  ember
ember-legit-forms
Component for creating flexible forms along with validations.
Stars: ✭ 41 (+95.24%)
Mutual labels:  ember
terraform-aws-frontend
Collection of Terraform modules for frontend app deployment on AWS.
Stars: ✭ 31 (+47.62%)
Mutual labels:  ember
ember-poller
A poller service based on ember-concurrency
Stars: ✭ 15 (-28.57%)
Mutual labels:  ember
ember-language-server
Language Server Protocol implementation for Ember.js projects
Stars: ✭ 93 (+342.86%)
Mutual labels:  ember
ember-useragent
An Ember addon for Fastboot-enabled UserAgent parsing via UAParser.js.
Stars: ✭ 34 (+61.9%)
Mutual labels:  ember
ember-app-scheduler
An Ember addon to schedule work until after the initial render.
Stars: ✭ 67 (+219.05%)
Mutual labels:  ember
frontend
Ilios Frontend
Stars: ✭ 26 (+23.81%)
Mutual labels:  ember
ffxiv-ember-overlay
Powerful, data-focused DPS overlay and spell timers for Final Fantasy XIV (FFXIV). Can be used with the OverlayPlugin and ACTWebSocket plugins for Advanced Combat Tracker (ACT). Updated for Endwalker.
Stars: ✭ 122 (+480.95%)
Mutual labels:  ember
website
Comunidade Brasileira Ember
Stars: ✭ 14 (-33.33%)
Mutual labels:  ember
ember-named-yields
Named Yields for Ember Components
Stars: ✭ 17 (-19.05%)
Mutual labels:  ember
ember-query-params
Ember service for your query params
Stars: ✭ 44 (+109.52%)
Mutual labels:  ember
ember-link-action
Fire an action when LinkTo component transition happens
Stars: ✭ 86 (+309.52%)
Mutual labels:  ember
dynamic-link
Ember addon for links whose attributes, routes, models, actions can all be changed dynamically
Stars: ✭ 13 (-38.1%)
Mutual labels:  ember
Prometheus
🌈 A Clean And Modern Ghost Theme with Progressive Web Apps (PWA)
Stars: ✭ 94 (+347.62%)
Mutual labels:  ember
hyperchannel
Kosmos Chat for the Web
Stars: ✭ 17 (-19.05%)
Mutual labels:  ember
ember-autoresize-modifier
Autoresize Element Modifier for Ember.js
Stars: ✭ 15 (-28.57%)
Mutual labels:  ember
ember-google-analytics-embed
An Ember Addon for adding analytics visualizations using the Google Analytics Embed API.
Stars: ✭ 26 (+23.81%)
Mutual labels:  ember
ember-java
Ember sample with Java and REST
Stars: ✭ 25 (+19.05%)
Mutual labels:  ember

Ember-x-editable

Ship Shape

ember-x-editable is built and maintained by Ship Shape. Contact us for Ember.js consulting, development, and training for your project.

npm version npm Ember Observer Score Build Status Code Climate Test Coverage

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

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.

Text Inputs

{{#ember-x-editable
fontFamilyConfig=fontFamilyConfig
isFieldEditing=isFieldEditing
validator=textValidator
value='TestString' as |x|}}
  {{x.text
    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
  • 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
  • value a string of text to display

Dropdown (Select)

{{#ember-x-editable
content=selectContent
fontFamilyConfig=fontFamilyConfig
isFieldEditing=isFieldEditing
validator=selectValidator
value=2 as |x|}}
  {{x.select
    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.
  • 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

Contributing

See the Contributing guide for details.

License

This project is licensed under the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].