ngPrime carousel arrow buttons and page-links not working

UI Components for Angular
Post Reply
catalinleca
Posts: 1
Joined: 08 Nov 2018, 19:44

08 Nov 2018, 19:53

I was working on the design for my ngprime carousel and all of a sudden the arrow buttons and page-link stopped loading. There is no page-link and in stead of arrow buttons there are little squares.
(I think it might've been after I installed primeflex, but I uninstalled it after and I reseted my project to a past version and still nope)

Can anyone help me with that pleasE?
Idk if it helps but this is my code ( i have some classes overridden but even if o delete the it still won't work)

Code: Select all

<p-carousel
    headerText="Trending"
    [value]="cars"
    easing="easeOutStrong"
    circular="circular"
    [responsive]="true"
>
    <ng-template let-car pTemplate="item">
        <div
            class="slider-item p-grid"
            style="margin: 0"
            [ngStyle]="{'background-image': 'url(' + photo + ')'}"
        >
            <div class="p-col p-col-aling start">
                <span style="font-weight: bold; color: white"> Title, </span>
                <span style="font-weight: bold; color: white"> Location </span>
            </div>
            <div class="p-col p-col-align-end">
                <a href="#">
                    <i class="far fa-heart fav-heart" style="color: red; float: right"
                       appFillheart
                    ></i>
                </a>
            </div>
        </div>
    </ng-template>
</p-carousel>

yigitfindikli
Posts: 449
Joined: 08 Aug 2018, 14:09

15 Nov 2018, 14:59

Hi,
did you add primeicons ? Can i see your package.json and angular.json ?

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: ctussey and 7 guests