2.0.1 • Published 9 years ago

ember-frost-text v2.0.1

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

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

ember-frost-text Travis Coveralls NPM

Installation

ember install ember-frost-text

API

AttributeTypeValueDescription
autofocusbooleanfalsedefault: Nothing to see here, just your average text input
trueLook at me!
disabledbooleanfalsedefault: Type to your heart's content
true:no_entry_sign: Can't update this! :notes:
onInputstring<action-name>triggers associated action when the input value is changed
valuestring<value-text>what text to put in input

Examples

Focus on Input

{{frost-text
  autofocus=true
}}

Handle Changes to Value

{{frost-text
  onInput=(action 'closure')
}}

Bind Value

{{frost-text
  value=boundText
}}

Disable Input

{{frost-text
  disabled=true
  value="Disabled"
}}

Make Input Read Only

{{frost-text
  readOnly=true
  value="Read Only"
}}

Development

Setup

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

Development Server

A dummy application for development is available under ember-frost-text/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

9 years ago

2.0.0

10 years ago

1.5.1

10 years ago

1.5.0

10 years ago

1.4.6

10 years ago

1.4.5

10 years ago

1.4.4

10 years ago

1.4.3

10 years ago

1.4.2

10 years ago

1.4.1

10 years ago

1.4.0

10 years ago

1.3.1

10 years ago

1.3.0

10 years ago

1.2.1

10 years ago

1.2.0

10 years ago

1.1.0

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago

0.0.2

10 years ago