ember-frost-textarea

2.0.1 • Public • Published

This repo has been ported to ember-frost-core - no more PRs will be accepted.

Travis Coveralls NPM

ember-frost-textarea

the drop-down select widget to rule them all

Installation

ember install ember-frost-textarea

API

Attribute Type Value Description
autofocus boolean true puts autofocus on the object
false default
classNameBindings string error shows the object in error state
disabled boolean true shows the object as disabled
false default
readonly boolean true object is not editable
false default
cols integer <num-of-cols> specifies the number of columns for the object
rows integer <num-of-rows> specifies the number of rows for the object
value string <textarea-text> default string that the object will display
onInput string <action-name> triggers associated action when text is entered

Examples

autofocus

{{frost-textarea id='basic' autofocus=true}}

classNameBindings - error

{{frost-textarea id='error' classNameBindings='error'}}

disabled

{{frost-textarea id='disabled' disabled=true}}

readonly and value

{{frost-textarea id='read-only' readonly=true value='Read only textarea'}}

cols and rows

{{frost-textarea id='columns-rows' cols='80' rows='6'}}

onInput

{{frost-textarea id='action' onInput=(action 'update')}}

Development

Setup

git clone git@github.com:ciena-frost/ember-frost-textarea.git
cd ember-frost-textarea
npm install && bower install

Development Server

A dummy application for development is available under ember-frost-textarea/tests/dummy. To run the server run ember server (or npm start) from the root of the repository and visit the app at http://localhost:4200.

Testing

Run npm test from the root of the project to run linting checks as well as execute the test suite and output code coverage.

Readme

Keywords

Package Sidebar

Install

npm i ember-frost-textarea

Weekly Downloads

13

Version

2.0.1

License

MIT

Last publish

Collaborators

  • ciena