Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 3.0 docs #833

Merged
merged 1 commit into from
Aug 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
An addon to support large data set and a number of features around table. Ember Table can
handle over 100,000 rows without any rendering or performance issues.

Ember Table 3 supports:
Ember Table 3.x supports:

* Ember 2.4 to latest version of Ember.

For legacy platforms, the final release of Ember Table 2 (2.2.3) supports:
For older platforms, the final release of Ember Table 2.x (2.2.3) supports:

* Ember 1.11-3.8+
* IE11+
Expand Down
39 changes: 2 additions & 37 deletions tests/dummy/app/pods/docs/guides/main/legacy-usage/template.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
# Legacy Usage

Ember Table is backwards compatible and tested back to Ember 1.11! It's meant to
be a fully replacement for Ember Table 1, and we intend to provide a path
forward for all of our original users, and any other applications that may be
stuck in the days of `ListView` et. al.
Ember Table is compatible (and tested) with Ember 2.4 and up.

## Usage with Ember 2.3-2.11
## Usage with Ember 2.4-2.11

You may have noticed that all of the examples for Ember Table on this docs site
are using angle bracket syntax (.e.g. `foo-bar`). This is an exciting new
Expand Down Expand Up @@ -44,35 +41,3 @@ or the original [angle bracket invocation rfc](https://github.com/emberjs/rfcs/b
{{/t.foot}}
{{/ember-table}}
```

## Usage with Ember 1.11-2.2

When using Ember Table with versions of Ember that do not yet support contextual
components, you can invoke its' component directly and manually pass the `api`
object forward:

```hbs
{{#ember-table data-test-ember-table=true as |t|}}
{{#ember-thead api=t columns=columns as |h|}}
{{#ember-tr api=h as |r|}}
{{ember-th api=r}}
{{/ember-tr}}
{{/ember-thead}}

{{#ember-tbody api=t rows=rows as |b|}}
{{#ember-tr api=b as |r|}}
{{#ember-td api=r as |cellValue|}}
{{cellValue}}
{{/ember-td}}
{{/ember-tr}}
{{/ember-tbody}}

{{#ember-tfoot api=t rows=footerRows as |f|}}
{{#ember-tr api=f as |r|}}
{{#ember-td api=r as |cellValue|}}
{{cellValue}}
{{/ember-td}}
{{/ember-tr}}
{{/ember-tfoot}}
{{/ember-table}}
```