Skip to content

vesper2000/ember-frost-textarea

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 61.5%
  • HTML 22.2%
  • CSS 11.4%
  • Shell 4.9%