Z
Z
zlodiak2019-01-18 10:31:09
Angular
zlodiak, 2019-01-18 10:31:09

How to find the setting for the number of previews?

I'm using a popular image slider module and I can't set the simplest setting that controls the number of previews shown in view mode, and which is described in the documentation .
I tried to specify in the component like this:

previewConfigOneImage: PreviewConfig = {
    visible: true,
    number: 10
  };

And in the template like this:
<ks-modal-gallery [id]="22" 
                  [modalImages]="images"
                  [slideConfig]="{infinite: true, sidePreviews: {show: false}, PreviewConfig: { number: 10 }}"></ks-modal-gallery>

LIVE DEMO
As a result, I would like to display more than three images.
5c418123e627b272264379.pngimg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
0
0xD34F, 2019-01-18
@zlodiak

The parameter through which you are trying to configure the preview
1. It is a separate thing, not part of slideConfig
2. It is written with a small letter
Ie: [previewConfig]="{ number: 10 }".

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question