Skip to content

Commit

Permalink
README improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
snewcomer committed Sep 2, 2020
1 parent 8730f03 commit 5754b41
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ Watch a free video overview presented by EmberMap:
- [Upgrade Guide](#upgrade-guide)
- [Available helpers](#available-helpers)
- [Action helpers](#action-helpers)
- [`call`](#call)
- [`pipe`](#pipe)
- [`compute`](#compute)
- [`toggle`](#toggle)
Expand Down Expand Up @@ -67,7 +68,6 @@ Watch a free video overview presented by EmberMap:
- [`compact`](#compact)
- [`contains`](#contains)
- [`append`](#append)
- [`call`](#call)
- [`chunk`](#chunk)
- [`without`](#without)
- [`shuffle`](#shuffle)
Expand Down Expand Up @@ -168,6 +168,20 @@ The `pipe` helper can also be used directly as a closure action (using `pipe-act
**[⬆️️ back to top](#table-of-contents)**
#### `call`
Calls the given function with arguments
```hbs
{{#each (call (fn this.callMeWith @daysInMonth) as |week|}}
{{#each week as |day|}}
{{day}}
{{/each}}
{{/each}}
```
**[⬆️ back to top](#table-of-contents)**
#### `compute`
Calls an action as a template helper.
Expand Down Expand Up @@ -551,19 +565,6 @@ Appends the given arrays and/or values into a single flat array.

**[⬆️ back to top](#table-of-contents)**

#### `call`
Calls the given function with arguments

```hbs
{{#each (call (fn this.callMeWith @daysInMonth) as |week|}}
{{#each week as |day|}}
{{day}}
{{/each}}
{{/each}}
```
**[⬆️ back to top](#table-of-contents)**
#### `chunk`
Returns the given array split into sub-arrays the length of the given value.

Expand Down

0 comments on commit 5754b41

Please sign in to comment.