9.0.0 • Published 6 years ago

ember-frost-fields v9.0.0

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

ember-frost-fields

Dependencies

Ember NPM

Health

Travis Coveralls

Security

bitHound

Ember Observer score

EmberObserver

Overview

Ember-frost-fields provides different kinds of custom input fields and input areas.

frost-url-input

Based on the frost-text component from ember-frost-core, the URL input field consists of an input field and a button. The component is used to verify that the provided URL is both valid and accessible.

After clicking the 'Test' button,

  • the entered URL is loosely verified to be correctly formatted.
  • An AJAX GET request is then sent (with JSONP to overcome cross-domain problems) to the destination URL.
  • The response is checked with any status code between 100 and 500, except 404, deemed a success.

Should MIME Checking be enabled and the Type set to 'Text', an error will be thrown when using the Chrome browser

Testing with ember-hook

frost-url-input

The file picker component is accessible using ember-hook with the top level hook name or you can access the internal components as well -

  • Default top level hook - $hook('url-input')
  • Test button hook - $hook('<hook-name>-button')
  • Input field hook - $hook('<hook-name>-input')

Examples

API and example usage can be found in the sample application in tests/dummy, which is also running at http://ciena-frost.github.io/ember-frost-fields

frost-url-input

{{frost-url-input}}

Installation

  • git clone this repository
  • npm install
  • bower install

Running

Running Tests

  • npm test (Runs ember try:testall to test your addon against multiple Ember versions)
  • ember test
  • ember test --server
9.0.0

6 years ago

8.0.0

6 years ago

7.0.0

6 years ago

6.0.2

6 years ago

6.0.1

6 years ago

6.0.0

6 years ago

5.0.0

7 years ago

4.2.10

7 years ago

4.2.9

7 years ago

4.2.8

7 years ago

4.2.7

7 years ago

4.2.6

7 years ago

4.2.5

7 years ago

4.2.4

7 years ago

4.2.3

7 years ago

4.2.2

7 years ago

4.2.1

7 years ago

4.2.0

7 years ago

4.1.1

7 years ago

4.1.0

7 years ago

4.0.0

7 years ago

3.0.1

7 years ago

3.0.0

7 years ago

2.0.0

7 years ago

1.0.0

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago