Skip to content

Commit

Permalink
Merge 540cfd7 into e0cc5d2
Browse files Browse the repository at this point in the history
  • Loading branch information
rox163 committed Apr 18, 2016
2 parents e0cc5d2 + 540cfd7 commit 2f774ce
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,24 +26,24 @@ ember install ember-frost-login
| --------- | ---- | ----- | ----------- |
| `logo` | `string` | `<icon-name>` | the name of a logo svg you will use |
| `brandingStrip` | `string` | `<icon-name>` | the name of a branding strip svg you will use |
| `on-enter` | `string` | `<action-name>` | triggers associated action when Enter key is pressed |
| `onEnter` | `string` | `<action-name>` | triggers associated action when Enter key is pressed |


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

0 comments on commit 2f774ce

Please sign in to comment.