@uportal/content-carousel
Version:
Display portlet content in a browsable carousel
42 lines (34 loc) • 794 B
text/typescript
import {Component, Provide, Vue} from 'vue-property-decorator';
import ContentCarousel from './components/ContentCarousel.vue';
export default class App extends Vue {
public heroOptions: any = {
slidesToShow: 1,
infinite: true,
arrows: true,
};
public contentOptions: any = {
slidesToShow: 6,
infinite: true,
arrows: true,
dots: true,
variableWidth: false,
};
public portletOptions: any = {
slidesToShow: 6,
infinite: true,
arrows: true,
dots: true,
};
public heroHeight = '30rem';
public contentHeight = 'auto';
public portletHeight = 'auto';
public alignText = 'right';
}