Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
lozjackson committed Apr 15, 2018
1 parent 793383a commit c9a133e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Ember-drop-zone is an Ember-cli addon that provides a drop-zone component.
Create a drop-zone using the `{{drop-zone}}` component.

```hbs
{{#drop-zone action="doSomething"}}
{{#drop-zone action=(action "doSomething")}}
drop items here...
{{/drop-zone}}
```
Expand Down Expand Up @@ -49,7 +49,7 @@ export default Ember.Component.extend({
Then assign the `getFiles` method to the `getData` method of the `DropZoneComponent`. This will change the behavior of the `DropZoneComponent` so that it will extract files from the `event.dataTransfer` object instead of text.

```hbs
{{#drop-zone action="doSomething" getData=getFiles}}
{{#drop-zone action=(action "doSomething") getData=getFiles}}
Drop files here...
{{/drop-zone}}
```
Expand Down

0 comments on commit c9a133e

Please sign in to comment.