You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3f80779
Browse filesBrowse the repository at this point in the historyBrowse files
|`@angular/forms` on a component or hosted component (it needs `NG_VALUE_ACCESSOR`), on `<ng-container>`, with `ngDefaultControl`, or beside a `[class]` binding; two controls or two form containers on one element; a forms directive whose module isn't imported | Put the control on a NativeScript view (`TextField`, `Switch`, `Slider`, …) |
121
-
|`ngPlural`, `ngPluralCase`, `ngComponentOutlet`; `ngIf`, `ngForOf` or `ngSwitchCase` on an element without `*`; `[ngTemplateOutlet]` anywhere but `<ng-container>`|`@if`, `@for`, `@switch`, or the `*` form |
122
-
|`<ng-content>` (content projection), and content inside an element that hosts an attribute-selected component | Pass the data as inputs and render it in the child's own template |
123
-
|`*pagerItem`, and structural directives other than `*ngIf`, `*ngFor`, `*ngTemplateOutlet`, `*ngSwitchCase` and `*ngSwitchDefault`| For a pager, `<Pager [items]>` with an `<ng-template let-item>`|
124
-
|`canLoad` and `resolve`|`canMatch` in place of `canLoad`; load the data in the routed component |
125
-
| Route fields other than `path`, `pathMatch`, `component`, `loadComponent`, `redirectTo`, `outlet`, `children`, `loadChildren`, `title`and `runGuardsAndResolvers` (such as `data`, `providers`, `matcher`)||
126
-
| A `path`, `pathMatch`, `redirectTo` or `outlet` that isn't a string literal; a `component` that isn't a class name ||
127
-
| Router features other than `withPreloading()` and `withDebugTracing()`; `forRoot` options other than `enableTracing`, `useHash`, `preloadingStrategy`, `scrollPositionRestoration`, `anchorScrolling`, `scrollOffset`||
128
-
| In a routes table outside the app's entry (an NgModule's routing module): `children`, `loadChildren`, `loadComponent`, `outlet`, and a redirect from a path other than `''`| Give the routes to `provideNativeScriptRouter(routes)` in the entry |
129
-
| Angular's `routerLink` and `routerLinkActive`, and `nsRouterLinkActive`|`nsRouterLink`|
130
-
|`animate.enter`, `animate.leave` and animation events; `(window:…)` and `(document:…)` events ||
131
-
|`<ng-container>` with a `#ref`, an event, a directive of yours, or an input other than `ngSwitch`, `ngTemplateOutlet` and `ngTemplateOutletContext`||
132
-
|`<page-router-outlet>` with anything but `name` and `actionBarVisibility="auto"`||
|`viewChild()`, `viewChildren()`, `contentChild()`, `contentChildren()`; an `input()` or `model()` option other than `alias`; an `output()` option |`@ViewChild` and `@ViewChildren`|
135
-
| In a `@Directive`: fields other than `selector`, `inputs` and `host`; `input()`, `output()`, `model()` and signal queries; lifecycle hooks other than `ngOnInit`, `ngOnChanges`, `ngAfterViewInit`, `ngOnDestroy`||
136
-
| An app `@NgModule`'s `providers`||
137
-
| A plugin element whose `registerElement` meta adds its children itself (`insertChild`, `removeChild`), when it has children; one registered with `skipAddToDom`||
|`@angular/forms` on a component or hosted component (it needs `NG_VALUE_ACCESSOR`), on `<ng-container>`, with `ngDefaultControl`, or beside a `[class]` binding; two controls or two form containers on one element; a forms directive whose module isn't imported | Put the control on a NativeScript view (`TextField`, `Switch`, `Slider`, …) |
121
+
|`ngPlural`, `ngPluralCase`, `ngComponentOutlet`; `ngIf`, `ngForOf` or `ngSwitchCase` on an element without `*`; `[ngTemplateOutlet]` anywhere but `<ng-container>`|`@if`, `@for`, `@switch`, or the `*` form |
122
+
|`<ng-content>` (content projection), and content inside an element that hosts an attribute-selected component | Pass the data as inputs and render it in the child's own template |
123
+
|`*pagerItem`, and structural directives other than `*ngIf`, `*ngFor`, `*ngTemplateOutlet`, `*ngSwitchCase` and `*ngSwitchDefault`| For a pager, `<Pager [items]>` with an `<ng-template let-item>`|
124
+
|`canLoad` and `resolve`|`canMatch` in place of `canLoad`; load the data in the routed component |
125
+
| Route fields other than `path`, `pathMatch`, `component`, `loadComponent`, `redirectTo`, `outlet`, `children`, `loadChildren`, `title`, `runGuardsAndResolvers`, `canActivate`, `canActivateChild`, `canDeactivate`and `canMatch` (such as `data`, `providers`, `matcher`) ||
126
+
| A `path`, `pathMatch`, `redirectTo` or `outlet` that isn't a string literal; a `component` that isn't a class name ||
127
+
| Router features other than `withPreloading()` and `withDebugTracing()`; `forRoot` options other than `enableTracing`, `useHash`, `preloadingStrategy`, `scrollPositionRestoration`, `anchorScrolling`, `scrollOffset`||
128
+
| In a routes table outside the app's entry (an NgModule's routing module): `children`, `loadChildren`, `loadComponent`, `outlet`, and a redirect from a path other than `''`| Give the routes to `provideNativeScriptRouter(routes)` in the entry |
129
+
| Angular's `routerLink` and `routerLinkActive`, and `nsRouterLinkActive`|`nsRouterLink`|
130
+
|`animate.enter`, `animate.leave` and animation events; `(window:…)` and `(document:…)` events ||
131
+
|`<ng-container>` with a `#ref`, an event, a directive of yours, or an input other than `ngSwitch`, `ngTemplateOutlet` and `ngTemplateOutletContext`||
132
+
|`<page-router-outlet>` with anything but `name` and `actionBarVisibility="auto"`||
|`viewChild()`, `viewChildren()`, `contentChild()`, `contentChildren()`; an `input()` or `model()` option other than `alias`; an `output()` option |`@ViewChild` and `@ViewChildren`|
135
+
| In a `@Directive`: fields other than `selector`, `inputs` and `host`; `input()`, `output()`, `model()` and signal queries; lifecycle hooks other than `ngOnInit`, `ngOnChanges`, `ngAfterViewInit`, `ngOnDestroy`||
136
+
| An app `@NgModule`'s `providers`||
137
+
| A plugin element whose `registerElement` meta adds its children itself (`insertChild`, `removeChild`), when it has children; one registered with `skipAddToDom`||
138
138
139
139
A name in the first rows that a directive or attribute-selected component of your own takes as an input is
0 commit comments