kolkov / ngx-gallery

A simple responsive native gallery component for Angular 8+.
https://ngx-gallery.kolkov.ru/
MIT License
115 stars 56 forks source link

Unable to get custom icons to work #6

Closed sqljim closed 4 years ago

sqljim commented 4 years ago

I want to use custom icons, ideally Google's Material icons which are available here. But I'm falling at the first hurdle, I've added the required element into the options array, but the icons aren't updating.

I'm using the original stackblitz here, and altering the options from this:

      {
        width: '600px',
        height: '400px',
        thumbnailsColumns: 4,
        imageAnimation: NgxGalleryAnimation.Slide
      },

to this:

      {
        width: '600px',
        height: '400px',
        thumbnailsColumns: 4,
        arrowPrevIcon: "fa fa-arrow-circle-o-left",
        imageAnimation: NgxGalleryAnimation.Slide
      },

But nothing is happening. Can anyone point me in the right direction?

kolkov commented 4 years ago

Hi! Thanks for the reporting! I will try to reproduce.

srhtkaya commented 4 years ago

I have the same problem with custom icons under ngx-gallery-arrows component. Other custom icons under ngx-gallery-actions seems to work fine.