lukasz-galka / ngx-gallery

Angular image gallery plugin
https://lukasz-galka.github.io/ngx-gallery-demo/
MIT License
436 stars 171 forks source link

Arrow icons not changing #311

Open umutesen opened 4 years ago

umutesen commented 4 years ago

Using the config below, the arrow icons are not changing:

this.galleryOptions = [
      {
        arrowPrevIcon: 'fa fa-chevron-left',
        arrowNextIcon: 'fa fa-arrow-circle-o-right',
        closeIcon: 'fa fa-window-close'
      },
      {
        imageArrows: false,
        thumbnailsArrows: false,
        image: false,
        thumbnailsRemainingCount: true,
        height: '100px',
        previewCloseOnClick: true,
        previewCloseOnEsc: true,
      },
      {
        breakpoint: 500,
        width: '100%',
        thumbnailsColumns: 2
      }
    ];

<ngx-gallery [options]="galleryOptions" [images]="galleryImages"></ngx-gallery>

Also, why do I need to define configuration in an array? It seems to break when I data-bind an instance of NgxGalleryOptions to the component.

saifansari2 commented 4 years ago

https://github.com/kolkov/ngx-gallery

this is not working with dynamic binding with api post response

static binding is working fine

saifansari2 commented 4 years ago

it is not working with .webp format