Skip to content

Commit

Permalink
README: Remove "positional params" hack from documentation
Browse files Browse the repository at this point in the history
It's not officially deprecated yet since angle bracket syntax has mostly made this obsolete, but we shouldn't be promoting this as a feature anymore either.
  • Loading branch information
Turbo87 committed Nov 22, 2019
1 parent 39d10c4 commit d47f73d
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,17 +90,6 @@ as data attributes on the `<div>` wrapping the component template:
</div>
```

You can also use boolean attributes, but make sure it is the first parameter
as this makes use of Ember's positional params system.

```handlebars
{{! valid }}
{{comments-list data-test-comments post=post}}
{{! compiler error }}
{{comments-list post=post data-test-comments}}
```

### Usage in Computed Properties

Instead of assigning `data-test-comment-id` in this example template:
Expand Down

0 comments on commit d47f73d

Please sign in to comment.