File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
angular/src/shared/directives Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -5,14 +5,15 @@ import {
55 Injectable ,
66 HostListener ,
77 Input ,
8- SimpleChanges
8+ SimpleChanges ,
9+ OnChanges
910} from '@angular/core' ;
1011
1112@Directive ( {
1213 selector : '[block]'
1314} )
1415@Injectable ( )
15- export class BlockDirective implements AfterViewInit {
16+ export class BlockDirective implements AfterViewInit , OnChanges {
1617 @Input ( 'block' ) loading : boolean ;
1718 private $element : JQuery ;
1819
Original file line number Diff line number Diff line change @@ -5,14 +5,15 @@ import {
55 Injectable ,
66 HostListener ,
77 Input ,
8- SimpleChanges
8+ SimpleChanges ,
9+ OnChanges
910} from '@angular/core' ;
1011
1112@Directive ( {
1213 selector : '[busy]'
1314} )
1415@Injectable ( )
15- export class BusyDirective implements AfterViewInit {
16+ export class BusyDirective implements AfterViewInit , OnChanges {
1617 @Input ( 'busy' ) loading : boolean ;
1718 private $element : JQuery ;
1819
You can’t perform that action at this time.
0 commit comments