Skip to content

Commit 3293781

Browse files
authored
Add standard, active classes to slide indicator
Adding a standard class to the slide indicators while adding an active class when they're active will let people animate transitions between states. The rest can be left alone to not break anybody's implementation now.
1 parent cc7ecb9 commit 3293781

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<AbsoluteLayout width="100%">
22
<ng-content></ng-content>
33
<StackLayout *ngIf="pageIndicators" #footer style="width:100%; height:20%;">
4-
<Label *ngFor="let indicator of indicators" [class.slide-indicator-active]="indicator.active == true" [class.slide-indicator-inactive]="indicator.active == false "></Label>
4+
<Label *ngFor="let indicator of indicators" class="slide-indicator" [class.active]="indicator.active == true" [class.slide-indicator-active]="indicator.active == true" [class.slide-indicator-inactive]="indicator.active == false "></Label>
55
</StackLayout>
6-
</AbsoluteLayout>
6+
</AbsoluteLayout>

0 commit comments

Comments
 (0)