ember-cli-click-to-edit

0.0.6 • Public • Published

click-to-edit for ember-cli

npm version Build Status

Show a textarea content as plain text, allowing to edit the content with just one click.

Installation

ember install ember-cli-click-to-edit

Usage

{{click-to-edit value="insert your content here"}}

Options

You can use most of the options of textarea helper, with some particularities:

  • cols='auto': sets teh width of the textarea to 100%
  • rows='auto': adds support for autosize library
  • blur: blur event is overriden by component behaviour
  • readonly: disabled as it has no sense for this component

/ember-cli-click-to-edit/

    Package Sidebar

    Install

    npm i ember-cli-click-to-edit

    Weekly Downloads

    6

    Version

    0.0.6

    License

    MIT

    Last publish

    Collaborators

    • dbuedo