我试图得到angular4-carousel与我的角4的应用程序 工作不会给出错误,但它不会显示angular4传送带不显示
我把这个在我的app.component.html
<carousel [sources]="imageSources" [config]="config"></carousel>
我把这个在我的app.component.ts
public imageSources: string[] = [
'http://lorempixel.com/400/200/',
'http://lorempixel.com/400/200/sports/'
];
public config: ICarouselConfig = {
verifyBeforeLoad: true,
log: true,
animation: true,
animationType: AnimationConfig.SLIDE,
autoplay: true,
autoplayDelay: 2000,
stopAutoplayMinWidth: 768
};
该页面加载,但没有旋转木马。有一些特定的CSS,我需要包括?
请有关'angular4-carousel'多个指定的(有快速链接到让别人看的包)。也让一个可运行的重击者重现你的问题会更好地让别人快速知道你正面临着什么。 – Pengyy