Skip to content

Commit a9bb81e

Browse files
author
Austin Turner
committed
updated other fa-layers examples
Modified all fa-layers examples to use the new @input() instead of adding a class for fa-fw FortAwesome#79
1 parent 8a7a3cf commit a9bb81e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/app/example.component.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ <h3>Animation</h3>
2626
<h3>Layers</h3>
2727
<p>Custom icons created with multiple layers.</p>
2828
<div class="fa-4x">
29-
<fa-layers [ngClass]="['fa-fw']">
29+
<fa-layers [fixedWidth]="true">
3030
<fa-icon [icon]="faCircle" [styles]="{color: 'Tomato'}"></fa-icon>
3131
<fa-icon [icon]="faTimes" [inverse]="true" transform="shrink-6"></fa-icon>
3232
</fa-layers>
33-
<fa-layers [ngClass]="['fa-fw']">
33+
<fa-layers [fixedWidth]="true">
3434
<fa-icon [icon]="faMobile"></fa-icon>
3535
<fa-icon [icon]="faBatteryQuarter" transform="shrink-11 up-1.5" [styles]="{color: 'Tomato'}"></fa-icon>
3636
</fa-layers>
37-
<fa-layers [ngClass]="['fa-fw']">
37+
<fa-layers [fixedWidth]="true">
3838
<fa-icon [icon]="faFighterJet"></fa-icon>
3939
<fa-icon [icon]="faCircle" [inverse]="true" transform="shrink-13.8 right-1.8"></fa-icon>
4040
<fa-icon [icon]="faEllipsisH" transform="shrink-13 up-6.8 right-2"></fa-icon>
@@ -43,18 +43,18 @@ <h3>Layers</h3>
4343
</div>
4444
<p>Using text as one of the layers.</p>
4545
<div class="fa-4x">
46-
<fa-layers [ngClass]="['fa-fw']">
46+
<fa-layers [fixedWidth]="true">
4747
<fa-icon [icon]="faFlag"></fa-icon>
4848
<fa-layers-text title="Fort Awesome" [content]="'Fa'" transform="up-4" [styles]="{'font-size': '0.3em'}"></fa-layers-text>
4949
</fa-layers>
5050
</div>
5151
<p>Increase the size of the layers container.</p>
5252
<div class="fa-4x">
53-
<fa-layers [ngClass]="['fa-fw']" size="2x">
53+
<fa-layers [fixedWidth]="true" size="2x">
5454
<fa-icon [icon]="faCircle" [styles]="{color: 'Tomato'}"></fa-icon>
5555
<fa-icon [icon]="faTimes" [inverse]="true" transform="shrink-6"></fa-icon>
5656
</fa-layers>
57-
<fa-layers [ngClass]="['fa-fw']" size="4x" [fixedWidth]="true">
57+
<fa-layers [fixedWidth]="true" size="4x">
5858
<fa-icon [icon]="faCircle" [styles]="{color: 'Tomato'}"></fa-icon>
5959
<fa-icon [icon]="faTimes" [inverse]="true" transform="shrink-6"></fa-icon>
6060
</fa-layers>
@@ -66,7 +66,7 @@ <h3>Layers</h3>
6666
[value]="notificationsCounter"
6767
(input)="notificationsCounter = $event.target.value"/>
6868
<div class="fa-3x">
69-
<fa-layers [ngClass]="['fa-fw']">
69+
<fa-layers [fixedWidth]="true">
7070
<fa-icon [icon]="faBell"></fa-icon>
7171
<fa-layers-counter [content]="notificationsCounter | number" title="Unread Messages"></fa-layers-counter>
7272
</fa-layers>

0 commit comments

Comments
 (0)