Skip to content

Commit

Permalink
fix(demo): fix bindings for fxLayout with AoT (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
bowenni authored and jelbourn committed Jan 6, 2017
1 parent c436824 commit 51ea29e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/demo-app/app/docs-layout/flexAlignSelf.demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<md-card-content>
<div class="containerX">
<div class="box" style="height:200px;">
<div [fxLayout]="row" fxLayoutAlign="center center" fxLayoutGap="5px" style="height:100%;padding: 5px;">
<div fxLayout="row" fxLayoutAlign="center center" fxLayoutGap="5px" style="height:100%;padding: 5px;">
<div fxFlex class="black one"> 1 </div>
<div fxFlex class="black two_h target" [fxFlexAlign]="alignTo" (click)="toggleAlignment()"> target </div>
<div fxFlex class="black three"> 3 </div>
Expand Down
2 changes: 1 addition & 1 deletion src/demo-app/app/github-issues/issue.9897.demo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {Component, ViewEncapsulation} from '@angular/core';
<md-card-subtitle>Safari bug with layout-wrap and flex % values</md-card-subtitle>
<md-card-content>
<div class="containerX">
<div [fxLayout]="row" [fxLayoutWrap]="wrapDirection" class="colored wrapped box" >
<div fxLayout="row" [fxLayoutWrap]="wrapDirection" class="colored wrapped box" >
<div fxFlex="30"> fxFlex="30" </div>
<div fxFlex="45"> fxFlex="45" </div>
Expand Down
2 changes: 1 addition & 1 deletion src/demo-app/app/stack-overflow/mozHolyGrail.demo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ import {Component} from '@angular/core';
`
})
export class DemoMozHolyGrail {
private direction = "row";
public direction = "row";
toggleDirection() {
this.direction = (this.direction === "column") ? "row" : "column";
}
Expand Down

0 comments on commit 51ea29e

Please sign in to comment.