2.0.3 • Published 10 years ago

ember-frost-login v2.0.3

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

Travis Coveralls NPM

ember-frost-login

Installation

ember install ember-frost-login

API

AttributeTypeValueDescription
logostring<icon-name>the name of a logo svg you will use
brandingStripstring<icon-name>the name of a branding strip svg you will use
onEnterstring<action-name>triggers associated action when Enter key is pressed

Examples

{{#frost-login logo='myLogo' brandingStrip='myBrand' onEnter='submitLogin' as |section|}}
  {{#if section.form}}
  {{frost-bunsen-form
    model=loginFormModel
    onChange=(action "loginFormValueChanged")
    onValidation=(action 'onValidation')
    value=loginFormValue
  }}
  {{/if}}
  {{#if section.actions}}
    {{frost-button
      disabled=(not valid)
      onClick=(action "submitLogin")
      priority="primary"
      size="medium"
      text="Login"
    }}
  {{/if}}
{{/frost-login}}

Development

Setup

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

Development Server

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

10 years ago

2.0.2

10 years ago

2.0.1

10 years ago

2.0.0

10 years ago

1.0.6

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago