Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Commit 51ea29e

Browse files
bowennijelbourn
authored andcommitted
fix(demo): fix bindings for fxLayout with AoT (#101)
1 parent c436824 commit 51ea29e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/demo-app/app/docs-layout/flexAlignSelf.demo.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<md-card-content>
55
<div class="containerX">
66
<div class="box" style="height:200px;">
7-
<div [fxLayout]="row" fxLayoutAlign="center center" fxLayoutGap="5px" style="height:100%;padding: 5px;">
7+
<div fxLayout="row" fxLayoutAlign="center center" fxLayoutGap="5px" style="height:100%;padding: 5px;">
88
<div fxFlex class="black one"> 1 </div>
99
<div fxFlex class="black two_h target" [fxFlexAlign]="alignTo" (click)="toggleAlignment()"> target </div>
1010
<div fxFlex class="black three"> 3 </div>

src/demo-app/app/github-issues/issue.9897.demo.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {Component, ViewEncapsulation} from '@angular/core';
1212
<md-card-subtitle>Safari bug with layout-wrap and flex % values</md-card-subtitle>
1313
<md-card-content>
1414
<div class="containerX">
15-
<div [fxLayout]="row" [fxLayoutWrap]="wrapDirection" class="colored wrapped box" >
15+
<div fxLayout="row" [fxLayoutWrap]="wrapDirection" class="colored wrapped box" >
1616
1717
<div fxFlex="30"> fxFlex="30" </div>
1818
<div fxFlex="45"> fxFlex="45" </div>

src/demo-app/app/stack-overflow/mozHolyGrail.demo.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ import {Component} from '@angular/core';
4242
`
4343
})
4444
export class DemoMozHolyGrail {
45-
private direction = "row";
45+
public direction = "row";
4646
toggleDirection() {
4747
this.direction = (this.direction === "column") ? "row" : "column";
4848
}

0 commit comments

Comments
 (0)