我試圖得到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