2.0.1 • Published 8 years ago

ember-frost-textarea v2.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

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

AttributeTypeValueDescription
autofocusbooleantrueputs autofocus on the object
falsedefault
classNameBindingsstringerrorshows the object in error state
disabledbooleantrueshows the object as disabled
falsedefault
readonlybooleantrueobject is not editable
falsedefault
colsinteger<num-of-cols>specifies the number of columns for the object
rowsinteger<num-of-rows>specifies the number of rows for the object
valuestring<textarea-text>default string that the object will display
onInputstring<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.

2.0.1

8 years ago

2.0.0

8 years ago

1.1.4

8 years ago

1.1.3

8 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago