File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -48,9 +48,7 @@ export class MdTabChangeEvent {
48
48
selector : 'md-tab-group' ,
49
49
templateUrl : 'tab-group.html' ,
50
50
styleUrls : [ 'tab-group.css' ] ,
51
- host : {
52
- '[class.md-tab-group-dynamic-height]' : '_dynamicHeight'
53
- }
51
+ host : { '[class.md-tab-group-dynamic-height]' : 'dynamicHeight' }
54
52
} )
55
53
export class MdTabGroup {
56
54
@ContentChildren ( MdTab ) _tabs : QueryList < MdTab > ;
@@ -68,9 +66,9 @@ export class MdTabGroup {
68
66
69
67
/** Whether the tab group should grow to the size of the active tab */
70
68
private _dynamicHeight : boolean = false ;
71
- @Input ( ) set dynamicHeight ( value : boolean ) {
72
- this . _dynamicHeight = coerceBooleanProperty ( value ) ;
73
- }
69
+ @Input ( )
70
+ get dynamicHeight ( ) : boolean { return this . _dynamicHeight ; }
71
+ set dynamicHeight ( value : boolean ) { this . _dynamicHeight = coerceBooleanProperty ( value ) ; }
74
72
75
73
/** @deprecated */
76
74
@Input ( 'md-dynamic-height' )
You can’t perform that action at this time.
0 commit comments