From e82a7708042bca1b4d216469954b5288c931a1d2 Mon Sep 17 00:00:00 2001 From: Victor Berchet Date: Thu, 26 Apr 2018 10:34:18 -0700 Subject: [PATCH] docs(ivy): upddate the status --- packages/core/src/render3/STATUS.md | 95 +++++++++++++++-------------- 1 file changed, 50 insertions(+), 45 deletions(-) diff --git a/packages/core/src/render3/STATUS.md b/packages/core/src/render3/STATUS.md index d3bf85218418d..a96a211e994be 100644 --- a/packages/core/src/render3/STATUS.md +++ b/packages/core/src/render3/STATUS.md @@ -37,7 +37,7 @@ to the corresponding `definePipe`, `defineComponent`, `defineDirective` and `def - ❌ support `extends` for `@Pipe`, `@Component`, `@Directive` and `@NgModule`. - ❌ 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. @@ -75,7 +75,7 @@ The goal is for the `@Component` (and friends) to be the compiler of template. S - ❌ `@Pipe` - ❌ `@Directive` - ❌ `@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 - ❌ 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 -| Feature | Runtime | -| ----------------------------------- | ------- | -| `markDirty()` | ✅ | -| `detectChanges()` | ✅ | -| `tick()` | ✅ | -| `attach()` | ✅ | -| `detach()` | ✅ | -| `ON_PUSH` | ✅ | -| `ALWAYS` | ✅ | -| `DIRTY` | ✅ | -| `ATTACHED` | ✅ | +| Feature | Runtime | +| ----------------------------------- | ------- | +| `markDirty()` | ✅ | +| `detectChanges()` | ✅ | +| `tick()` | ✅ | +| `attach()` | ✅ | +| `detach()` | ✅ | +| `ON_PUSH` | ✅ | +| `ALWAYS` | ✅ | +| `DIRTY` | ✅ | +| `ATTACHED` | ✅ | ## Bootstrap API -| Feature | Runtime | -| ----------------------------------- | ------- | -| `renderComponent()` | ✅ | -| `getHostElement()` | ✅ | -| `createInjector()` | ✅ | +| Feature | Runtime | +| ----------------------------------- | ------- | +| `renderComponent()` | ✅ | +| `getHostElement()` | ✅ | +| `createInjector()` | ✅ | ## Template Compiler ### Template Syntax -| Feature | Runtime | Spec | Compiler | -| --------------------------------------- | ------- | -------- | -------- | -| `
` | ✅ | ✅ | ✅ | -| `
{{exp}}
` | ✅ | ✅ | ✅ | -| `
` | ✅ | ✅ | ✅ | -| `
` | ✅ | ✅ | ✅ | -| `
` | ✅ | ✅ | ✅ | -| `
` | ✅ | ✅ | ✅ | -| `
` | ✅ | ✅ | ✅ | -| `
` | ✅ | ✅ | ✅ | -| `
` | ✅ | ✅ | ❌ | -| `
` | ✅ | ✅ | ✅ | -| `
` | ❌ | ❌ | ❌ | -| `
` | ✅ | ✅ | ❌ | -| `
` | ✅ | ✅ | ✅ | -| `
` | ❌ | ❌ | ❌ | -| `
` | ✅ | ✅ | ❌ | -| `{{ ['literal', exp ] }}` | ✅ | ✅ | ✅ | -| `{{ { a: 'literal', b: exp } }}` | ✅ | ✅ | ✅ | -| `{{ exp \| pipe: arg }}` | ✅ | ✅ | ✅ | -| `` | ❌ | ❌ | ❌ | -| `` sanitization | ❌ | ❌ | ❌ | -| `
` | ❌ | ❌ | ❌ | -| `
` | ❌ | ❌ | ❌ | -| `
` | ❌ | ❌ | ❌ | -| `
` | ❌ | ❌ | ❌ | +| Feature | Runtime | Spec | Compiler | +| ------------------------------------------- | ------- | -------- | -------- | +| `
` | ✅ | ✅ | ✅ | +| `
{{exp}}
` | ✅ | ✅ | ✅ | +| `
` | ✅ | ✅ | ✅ | +| `
` | ✅ | ✅ | ✅ | +| `
` | ✅ | ✅ | ✅ | +| `
` | ✅ | ✅ | ✅ | +| `
` | ✅ | ✅ | ✅ | +| `
` | ✅ | ✅ | ✅ | +| `
` | ✅ | ✅ | ❌ | +| `
` | ✅ | ✅ | ✅ | +| `
` | ❌ | ❌ | ❌ | +| `
` | ✅ | ✅ | ❌ | +| `
` | ✅ | ✅ | ✅ | +| `
` | ❌ | ❌ | ❌ | +| `
` | ✅ | ✅ | ❌ | +| `{{ ['literal', exp ] }}` | ✅ | ✅ | ✅ | +| `{{ { a: 'literal', b: exp } }}` | ✅ | ✅ | ✅ | +| `{{ exp \| pipe: arg }}` | ✅ | ✅ | ✅ | +| `` | ❌ | ❌ | ❌ | +| `` sanitization | ❌ | ❌ | ❌ | +| `
` | ❌ | ❌ | ❌ | +| `
` | ❌ | ❌ | ❌ | +| `
` | ❌ | ❌ | ❌ | +| `
` | ❌ | ❌ | ❌ | +| [`
`][gh23560] | ❌ | ❌ | ❌ | +| [``][gh23561] | ❌ | ❌ | ❌ | + +[gh23560]: https://github.com/angular/angular/issues/23560 +[gh23561]: https://github.com/angular/angular/issues/23561 ### Life Cycle Hooks | Feature | Runtime | Spec | Compiler | @@ -215,7 +220,7 @@ The goal is for the `@Component` (and friends) to be the compiler of template. S ### I18N | Feature | Runtime | Spec | Compiler | | ----------------------------------- | ------- | -------- | -------- | -| translate text literals | ❌ | ❌ | ❌ | +| translate text literals | ✅ | ✅ | ✅ | | rearrange text nodes | ❌ | ❌ | ❌ | | ICU | ❌ | ❌ | ❌ |