ChangeDetectionStrategy
The strategy that the default change detector uses to detect changes. When set, takes effect the next time change detection is triggered.
enum ChangeDetectionStrategy {
OnPush: 0
Default: 1
}
成员列表
成员 | 说明 |
---|---|
OnPush: 0 | Use the |
Default: 1 | Use the default |