docs(ivy): upddate the status (#23562)

PR Close #23562
This commit is contained in:
Victor Berchet 2018-04-26 10:34:18 -07:00 committed by Igor Minar
parent a522bb9f03
commit 7ef9d4a582
1 changed files with 50 additions and 45 deletions

View File

@ -37,7 +37,7 @@ to the corresponding `definePipe`, `defineComponent`, `defineDirective` and `def
- ❌ support `extends` for `@Pipe`, `@Component`, `@Directive` and `@NgModule`. - ❌ support `extends` for `@Pipe`, `@Component`, `@Directive` and `@NgModule`.
- ❌ Documentation - ❌ Documentation
### `ngcc` Angular `node_module` compatibility compiler ### `ngcc` Angular `node_module` compatibility compiler
A tool which "upgrades" `node_module` compiled with non-ivy `ngc` into ivy compliant format. A tool which "upgrades" `node_module` compiled with non-ivy `ngc` into ivy compliant format.
@ -75,7 +75,7 @@ The goal is for the `@Component` (and friends) to be the compiler of template. S
- ❌ `@Pipe` - ❌ `@Pipe`
- ❌ `@Directive` - ❌ `@Directive`
- ❌ `@Component` - ❌ `@Component`
- ❌ `ResourceLoader.resolved: Promise<>` Returns true if all `templateUrl`s and `styleUrl` have been resolved and application is ready to be bootstrapped. - ❌ `ResourceLoader.resolved: Promise<>` Returns true if all `templateUrl`s and `styleUrl` have been resolved and application is ready to be bootstrapped.
# Testing / Debugging # Testing / Debugging
- ❌ in debug mode publish components into DOM nodes for easier debugging. - ❌ in debug mode publish components into DOM nodes for easier debugging.
@ -106,56 +106,61 @@ The goal is for the `@Component` (and friends) to be the compiler of template. S
## Change Detection ## Change Detection
| Feature | Runtime | | Feature | Runtime |
| ----------------------------------- | ------- | | ----------------------------------- | ------- |
| `markDirty()` | ✅ | | `markDirty()` | ✅ |
| `detectChanges()` | ✅ | | `detectChanges()` | ✅ |
| `tick()` | ✅ | | `tick()` | ✅ |
| `attach()` | ✅ | | `attach()` | ✅ |
| `detach()` | ✅ | | `detach()` | ✅ |
| `ON_PUSH` | ✅ | | `ON_PUSH` | ✅ |
| `ALWAYS` | ✅ | | `ALWAYS` | ✅ |
| `DIRTY` | ✅ | | `DIRTY` | ✅ |
| `ATTACHED` | ✅ | | `ATTACHED` | ✅ |
## Bootstrap API ## Bootstrap API
| Feature | Runtime | | Feature | Runtime |
| ----------------------------------- | ------- | | ----------------------------------- | ------- |
| `renderComponent()` | ✅ | | `renderComponent()` | ✅ |
| `getHostElement()` | ✅ | | `getHostElement()` | ✅ |
| `createInjector()` | ✅ | | `createInjector()` | ✅ |
## Template Compiler ## Template Compiler
### Template Syntax ### Template Syntax
| Feature | Runtime | Spec | Compiler | | Feature | Runtime | Spec | Compiler |
| --------------------------------------- | ------- | -------- | -------- | | ------------------------------------------- | ------- | -------- | -------- |
| `<div>` | ✅ | ✅ | ✅ | | `<div>` | ✅ | ✅ | ✅ |
| `<div>{{exp}}</div>` | ✅ | ✅ | ✅ | | `<div>{{exp}}</div>` | ✅ | ✅ | ✅ |
| `<div attr=value>` | ✅ | ✅ | ✅ | | `<div attr=value>` | ✅ | ✅ | ✅ |
| `<div (click)="stmt">` | ✅ | ✅ | ✅ | | `<div (click)="stmt">` | ✅ | ✅ | ✅ |
| `<div #foo>` | ✅ | ✅ | ✅ | | `<div #foo>` | ✅ | ✅ | ✅ |
| `<div #foo="bar">` | ✅ | ✅ | ✅ | | `<div #foo="bar">` | ✅ | ✅ | ✅ |
| `<div [value]="exp">` | ✅ | ✅ | ✅ | | `<div [value]="exp">` | ✅ | ✅ | ✅ |
| `<div title="Hello {{name}}!">` | ✅ | ✅ | ✅ | | `<div title="Hello {{name}}!">` | ✅ | ✅ | ✅ |
| `<div [attr.value]="exp">` | ✅ | ✅ | ❌ | | `<div [attr.value]="exp">` | ✅ | ✅ | ❌ |
| `<div class="literal">` | ✅ | ✅ | ✅ | | `<div class="literal">` | ✅ | ✅ | ✅ |
| `<div [class]="exp">` | ❌ | ❌ | ❌ | | `<div [class]="exp">` | ❌ | ❌ | ❌ |
| `<div [class.foo]="exp">` | ✅ | ✅ | ❌ | | `<div [class.foo]="exp">` | ✅ | ✅ | ❌ |
| `<div style="literal">` | ✅ | ✅ | ✅ | | `<div style="literal">` | ✅ | ✅ | ✅ |
| `<div [style]="exp">` | ❌ | ❌ | ❌ | | `<div [style]="exp">` | ❌ | ❌ | ❌ |
| `<div [style.foo]="exp">` | ✅ | ✅ | ❌ | | `<div [style.foo]="exp">` | ✅ | ✅ | ❌ |
| `{{ ['literal', exp ] }}` | ✅ | ✅ | ✅ | | `{{ ['literal', exp ] }}` | ✅ | ✅ | ✅ |
| `{{ { a: 'literal', b: exp } }}` | ✅ | ✅ | ✅ | | `{{ { a: 'literal', b: exp } }}` | ✅ | ✅ | ✅ |
| `{{ exp \| pipe: arg }}` | ✅ | ✅ | ✅ | | `{{ exp \| pipe: arg }}` | ✅ | ✅ | ✅ |
| `<svg:g svg:p>` | ❌ | ❌ | ❌ | | `<svg:g svg:p>` | ❌ | ❌ | ❌ |
| `<img src=[userData]>` sanitization | ❌ | ❌ | ❌ | | `<img src=[userData]>` sanitization | ❌ | ❌ | ❌ |
| `<div (nocd.click)>` | ❌ | ❌ | ❌ | | `<div (nocd.click)>` | ❌ | ❌ | ❌ |
| `<div (bubble.click)>` | ❌ | ❌ | ❌ | | `<div (bubble.click)>` | ❌ | ❌ | ❌ |
| `<div (keyup.enter)>` | ❌ | ❌ | ❌ | | `<div (keyup.enter)>` | ❌ | ❌ | ❌ |
| `<div (hammer.js)>` | ❌ | ❌ | ❌ | | `<div (hammer.js)>` | ❌ | ❌ | ❌ |
| [`<div (directiveOut)>`][gh23560] | ❌ | ❌ | ❌ |
| [`<ng-template (directiveOut)>`][gh23561] | ❌ | ❌ | ❌ |
[gh23560]: https://github.com/angular/angular/issues/23560
[gh23561]: https://github.com/angular/angular/issues/23561
### Life Cycle Hooks ### Life Cycle Hooks
| Feature | Runtime | Spec | Compiler | | Feature | Runtime | Spec | Compiler |
@ -215,7 +220,7 @@ The goal is for the `@Component` (and friends) to be the compiler of template. S
### I18N ### I18N
| Feature | Runtime | Spec | Compiler | | Feature | Runtime | Spec | Compiler |
| ----------------------------------- | ------- | -------- | -------- | | ----------------------------------- | ------- | -------- | -------- |
| translate text literals | ❌ | ❌ | ❌ | | translate text literals | ✅ | ✅ | ✅ |
| rearrange text nodes | ❌ | ❌ | ❌ | | rearrange text nodes | ❌ | ❌ | ❌ |
| ICU | ❌ | ❌ | ❌ | | ICU | ❌ | ❌ | ❌ |