Last change
on this file since eed0bf8 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.3 KB
|
Rev | Line | |
---|
[6a3a178] | 1 | /**
|
---|
| 2 | * @license
|
---|
| 3 | * Copyright Google LLC All Rights Reserved.
|
---|
| 4 | *
|
---|
| 5 | * Use of this source code is governed by an MIT-style license that can be
|
---|
| 6 | * found in the LICENSE file at https://angular.io/license
|
---|
| 7 | */
|
---|
| 8 | import { IterableChanges, ViewContainerRef } from '@angular/core';
|
---|
| 9 | import { _ViewRepeater, _ViewRepeaterItemChanged, _ViewRepeaterItemContext, _ViewRepeaterItemContextFactory, _ViewRepeaterItemValueResolver } from './view-repeater';
|
---|
| 10 | /**
|
---|
| 11 | * A repeater that destroys views when they are removed from a
|
---|
| 12 | * {@link ViewContainerRef}. When new items are inserted into the container,
|
---|
| 13 | * the repeater will always construct a new embedded view for each item.
|
---|
| 14 | *
|
---|
| 15 | * @template T The type for the embedded view's $implicit property.
|
---|
| 16 | * @template R The type for the item in each IterableDiffer change record.
|
---|
| 17 | * @template C The type for the context passed to each embedded view.
|
---|
| 18 | */
|
---|
| 19 | export declare class _DisposeViewRepeaterStrategy<T, R, C extends _ViewRepeaterItemContext<T>> implements _ViewRepeater<T, R, C> {
|
---|
| 20 | applyChanges(changes: IterableChanges<R>, viewContainerRef: ViewContainerRef, itemContextFactory: _ViewRepeaterItemContextFactory<T, R, C>, itemValueResolver: _ViewRepeaterItemValueResolver<T, R>, itemViewChanged?: _ViewRepeaterItemChanged<R, C>): void;
|
---|
| 21 | detach(): void;
|
---|
| 22 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.