chore: rename if to ng-if
This commit is contained in:
@ -3,7 +3,7 @@ import {getIntParameter, bindAction} from 'angular2/src/test_lib/benchmark_util'
|
||||
import {PromiseWrapper} from 'angular2/src/facade/async';
|
||||
import {ListWrapper} from 'angular2/src/facade/collection';
|
||||
import {ScrollAreaComponent} from './scroll_area';
|
||||
import {If, For} from 'angular2/directives';
|
||||
import {NgIf, For} from 'angular2/directives';
|
||||
import {DOM} from 'angular2/src/dom/dom_adapter';
|
||||
import {document} from 'angular2/src/facade/browser';
|
||||
|
||||
@ -14,7 +14,7 @@ import {View} from 'angular2/src/core/annotations_impl/view';
|
||||
|
||||
@Component({selector: 'scroll-app'})
|
||||
@View({
|
||||
directives: [ScrollAreaComponent, If, For],
|
||||
directives: [ScrollAreaComponent, NgIf, For],
|
||||
template: `
|
||||
<div>
|
||||
<div style="display: flex">
|
||||
|
Reference in New Issue
Block a user