Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes Carousel Page Links. Resolves #554. #703

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions components/carousel/carousel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {TemplateWrapper} from '../common';
<span class="ui-carousel-button ui-carousel-prev-button fa fa-arrow-circle-left" (click)="onPrevNav()"
[ngClass]="{'ui-state-disabled':(page === 0 && !circular)}"></span>
<div *ngIf="displayPageLinks" class="ui-carousel-page-links">
<a href="#" class="ui-carousel-page-link fa fa-circle-o" *ngFor="let links of anchorPageLinks;let i=index" [ngClass]="{'fa-dot-circle-o':page===i}"></a>
<a class="ui-carousel-page-link fa fa-circle-o" *ngFor="let links of anchorPageLinks;let i=index" (click)="setPage(i)" [ngClass]="{'fa-dot-circle-o':page===i}"></a>
</div>
<select *ngIf="displayPageDropdown" class="ui-carousel-dropdown ui-widget ui-state-default ui-corner-left" [value]="page" (change)="onDropdownChange($event.target.value)">
<option *ngFor="let option of selectDropdownOptions" [value]="option" [selected]="value == option">{{option+1}}</option>
Expand Down Expand Up @@ -293,4 +293,4 @@ export class Carousel implements OnInit,AfterViewChecked,AfterViewInit,DoCheck,O
}
}

}
}