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

Arrow icons not changing #311

Open
umutesen opened this issue Apr 23, 2020 · 2 comments
Open

Arrow icons not changing #311

umutesen opened this issue Apr 23, 2020 · 2 comments

Comments

@umutesen
Copy link

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
Copy link

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

this is not working with dynamic binding with api post response

static binding is working fine

@saifansari2
Copy link

it is not working with .webp format

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants