Framework7 Swiper SliderFramework7 provides swiper slider which is a very powerful and modern touch slider. It also provides a lot of features. HTML Layout of Swiper SliderHere: swiper-container: It is the main slider container class with slides and paginations. Required element swiper-wrapper: It is an additional wrapper for slides. Required element swiper-slide: It is a single slide element. Could contain any HTML inside swiper-pagination: It is a container with pagination bullets where pagination bullets will be created automatically. It is an optional element. Initialize Swiper with JavaScriptSwiper can be initialized by using following JavaScript related methods: Parameter Explanation:swiperContainer: It is HTMLElement or string of a swiper container and it is required. parameters: These are optional elements containing object with swiper parameters. Note: The both of the above methods can be used to initialize the slider with options.For Example: Initialize Swiper with HTMLTypes of Swiper SlidersThere are several different types of swipers in Framework7:
Next TopicFramework7 Custom Controls |