Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
460 views
in Technique[技术] by (71.8m points)

angular - 如何操作ngx-bootstrap框架的轮播多列表?(how can I operate the carousel multilist of the ngx-bootstrap framework?)

I have hours trying to run the ngx-bootstrap multilist carousel but I can not make it work.

(我有几个小时试图运行ngx-bootstrap多列表轮播,但是我无法使其正常运行。)

the one I'm trying to insert is specifically the Multilist Single Ofset, but see how it appears to me, that is, it only shows me an image, it does not show me 5, that's how it shows me:

(我要插入的一个是Multilist Single Offset,但请看它对我的显示方式,即只显示一张图像,不显示5,这就是它的显示方式:)

enter image description here

(在此处输入图片说明)

I did all these steps:

(我做了所有这些步骤:)

1) Install ngx-bootstrap with:: npm install ngx-bootstrap --save

(1)使用以下命令安装ngx-bootstrap:npm install ngx-bootstrap --save)

2) add this in the app.module.ts:

(2)将其添加到app.module.ts中:)

 import { CarouselModule } from 'ngx-bootstrap/carousel'; @NgModule({ imports: [CarouselModule.forRoot(),...] }) 

3) I also have the cdn of jquery, javascript, and bootstrap4 in the index.html

(3)我在index.html中也有jquery,javascript和bootstrap4的CDN)

I'm working with Angular, any idea why it does not work for me?

(我正在使用Angular,知道为什么它不适合我吗?)

I do not understand what I can be doing wrong.

(我不明白我该怎么做。)

Has anyone already used this framework?

(有人使用过这个框架吗?)

I would be very grateful if you help me.

(如果您能帮助我,我将不胜感激。)

  ask by JulianProg translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

I'm facing the same prob.

(我面临着同样的问题。)

For multi-list it only displays the first image, others remain hidden, can anyone help, please?

(对于多列表,它仅显示第一张图像,其他图像保持隐藏状态,任何人都可以帮忙吗?)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...