Scrollview for Angular JS and Ionic 1

Create scrollable layouts with the help of the scrollview component.

The scrollable elements can house content of any type, size or depth. Use it for paging or just a simple list of items users need to scroll through.

Shipping with useful features for creating horizontally scrollable layouts:

  • Usage on mobile and desktop
  • Touch and mouse interaction supported
  • Compatible with other components, like cards, listviews
  • Paging & variable width items
  • Snap to items or freeform scrolling
  • Multiple theme support
  • Liquid or fixed layout


Interested in scroller components? Other demos that could be useful:

Select Scroller


Scrollview demos available for other frameworks.

Viewing demos & code for

light
dark

Change the theme setting here

Scrollview - Paging

Change demo
Paging
AngularJS Horizontal scroll view demo for layout. Use it to build horizontally scrollable paging. Segment content for navigation. For AngularJS (1.x) and Ionic 1.
angular
    .module('demoApp', ['mobiscroll-navigation', 'mobiscroll-scrollview', 'mobiscroll-listview'])
    .controller('demoController', ['$scope', '$timeout', function ($scope, $timeout) {
        $scope.currentPage = 'music';
        $scope.contents = {};
        $scope.categories = {};

        // bottom navigation settings  
        $scope.menuSettings = {
            lang: '',
            theme: '',
            onItemTap: function (event, inst) {
                $scope.$apply(function () {
                    var page = event.target.getAttribute('data-page');
                    $scope.currentPage = page;
                    $timeout(function () {
                        var category = $scope.categories[page + 'Instance'];
                        category.navigate("1", true);
                        category.refresh();

                        // refresh content
                        var content = $scope.contents[page + 'Instance'];
                        content.refresh();
                        content.navigate("1");
                    });
                })
            }
        };

        // category settings
        $scope.categorySetting = {
            lang: '',
            theme: '',
            onItemTap: function (event, inst) {
                $scope.contents[$scope.currentPage + 'Instance'].navigate(document.querySelector('.' + event.target.getAttribute('data-page')));
            }
        };

        // content settings
        $scope.contentSettings = {
            lang: '',
            theme: '',
            layout: 1,
            paging: true,
            threshold: 15,
            cssClass: 'md-page',
            onAnimationStart: function (event, inst) {
                var selectedIndex = -(event.destinationX / inst.contWidth),
                    selectedItem = document.querySelectorAll('.' + this.getAttribute('data-cat') + ' li')[selectedIndex];
        
                if (!selectedItem.classList.contains('mbsc-ms-item-sel')) {
                    $scope.categories[$scope.currentPage + 'Instance'].navigate(selectedItem);
                }
            }
        };


        // listview settings
        $scope.listviewSettings = {
            lang: '',
            theme: '',
            swipe: false,
            striped: true,
            onItemTap: function () {},
            enhance: true
        };

        $scope.data = {
            books: {
                fantasyb: [
                    { id: 1, img: 'https://img.mobiscroll.com/demos/paging/The_Lord_Of_The_Rings_1x.png', title: 'The Lord Of The Rings', author: 'J.R.R. Tolkien' },
                    // Showing partial data. Download full source.
                ],
                education: [
                    { id: 14, img: 'https://img.mobiscroll.com/demos/paging/Do_Androids_Dream_Of_Electric_Sheep_1x.png', title: 'Do Androids Dream Of Electric Sheep?', author: 'Philip K. Dick' },
                ],
                history: [
                    { id: 27, img: 'https://img.mobiscroll.com/demos/paging/Humans_of_New_York_Stories_1x.png', title: 'Humans of New York: Stories', author: 'by Brandon Stanton' },
                ],
                scifyb: [
                    { id: 39, img: 'https://img.mobiscroll.com/demos/paging/The_Mote_In_God\'s_Eye_1x.png', title: 'The Mote In God\'s Eye', author: 'Larry NivenJerry Pournelle' },
                ],
                romanceb: [
                    { id: 50, img: 'https://img.mobiscroll.com/demos/paging/Bad_Boy\'s_Baby_1x.png', title: 'Bad Boy\'s Baby', author: 'by Sosie Frost' },
                ]
            },
            music: {
                pop: [
                    { id: 1, img: 'https://img.mobiscroll.com/demos/paging/Adele_1x.png', title: 'Hello', artist: 'Adele' },
                ],
                rock: [
                    { id: 20, img: 'https://img.mobiscroll.com/demos/paging/Elle_King_1x.png', title: 'Ex\'s & Oh\'s', artist: 'Elle King' },
                ],
                jazz: [
                    { id: 35, img: 'https://img.mobiscroll.com/demos/paging/Jeff_Lorber_1x.png', title: 'Get Up', artist: 'Jeff Lorber Fusion' },
                ],
                piano: [
                    { id: 50, img: 'https://img.mobiscroll.com/demos/paging/Rachmaninoff_1x.png', title: 'Etudes Tableaux', artist: 'Rachmaninoff' },
                ],
                electric: [
                    { id: 60, img: 'https://img.mobiscroll.com/demos/paging/Major-Lazer_1x.png', title: 'Lean On', artist: 'Major Lazer & DJ Snake Featuring M0' },
                ]
            },
            movies: {
                fantasym: [
                    { id: 1, img: 'https://img.mobiscroll.com/demos/paging/The_Seven_Samurai_1x.png', title: 'The Seven Samurai', producer: 'by Akira Kurosawa' },
                ],
                horror: [
                    { id: 14, img: 'https://img.mobiscroll.com/demos/paging/Psycho_1x.png', title: 'Psycho', producer: 'by Alfred Hitchcock' },
                ],
                animation: [
                    { id: 25, img: 'https://img.mobiscroll.com/demos/paging/Chaar_Sahibzaade_1x.png', title: 'Chaar Sahibzaade', producer: 'by Harry Baweja' },
                ],
                scifym: [
                    { id: 38, img: 'https://img.mobiscroll.com/demos/paging/Inception_1x.png', title: 'Inception', producer: 'by Christopher Nolan' },
                ],
                romancem: [
                    { id: 51, img: 'https://img.mobiscroll.com/demos/paging/The_Princess_Bride_1x.png', title: 'The Princess Bride', producer: 'by Rob Reiner' },
                ]
            }
        }

    }]);
<div class="md-paging" ng-app="demoApp" ng-controller="demoController">
    <ul ng-model="mymenustrip" mobiscroll-bottom-nav="menuSettings" class="mbsc-cloak">
        <li data-id="1" data-icon="music" data-selected="true" data-page="music">Music</li>
        <li data-id="2" data-icon="book" data-page="books">Books</li>
        <li data-id="3" data-icon="film" data-page="movies">Movies</li>
    </ul>

    <div class="md-cont md-music-cont md-selected" ng-if="currentPage == 'music'">
        <ul class="md-category md-music-category mbsc-cloak" mobiscroll-tab-nav="categorySetting" mobiscroll-instance="categories.musicInstance">
            <li data-id="1" data-page="md-pop" data-selected="true">Pop</li>
            <li data-id="2" data-page="md-rock">Rock</li>
            <li data-id="3" data-page="md-jazz">Jazz</li>
            <li data-id="4" data-page="md-piano">Piano</li>
            <li data-id="5" data-page="md-electric">Electric</li>
        </ul>

        <ul class="md-content mbsc-cloak" mobiscroll-scrollview="contentSettings" mobiscroll-instance="contents.musicInstance" data-cat="md-music-category">
            <li class="md-pop" data-id="1">
                <ul class="md-music-lv md-list mbsc-cloak" mobiscroll-listview="listviewSettings" mobiscroll-data="data.music.pop">
                    <li data-icon="play" data-icon-align="right"><img ng-src="{{item.img}}" />
                        <h4>{{item.title}}</h4>
                        <p>{{item.artist}}</p>
                    </li>
                </ul>

            </li>

            <li class="md-rock">
                <ul class="md-music-lv md-list mbsc-cloak" mobiscroll-listview="listviewSettings" mobiscroll-data="data.music.rock">
                    <li data-icon="play" data-icon-align="right"><img ng-src="{{item.img}}" />
                        <h4>{{item.title}}</h4>
                        <p>{{item.artist}}</p>
                    </li>
                </ul>

            </li>

            <li class="md-jazz">
                <ul class="md-music-lv md-list mbsc-cloak" mobiscroll-listview="listviewSettings" mobiscroll-data="data.music.jazz">
                    <li data-icon="play" data-icon-align="right"><img ng-src="{{item.img}}" />
                        <h4>{{item.title}}</h4>
                        <p>{{item.artist}}</p>
                    </li>
                </ul>

            </li>

            <li class="md-piano">
                <ul class="md-music-lv md-list mbsc-cloak" mobiscroll-listview="listviewSettings" mobiscroll-data="data.music.piano">
                    <li data-icon="play" data-icon-align="right"><img ng-src="{{item.img}}" />
                        <h4>{{item.title}}</h4>
                        <p>{{item.artist}}</p>
                    </li>
                </ul>

            </li>

            <li class="md-electric">
                <ul class="md-music-lv md-list mbsc-cloak" mobiscroll-listview="listviewSettings" mobiscroll-data="data.music.electric">
                    <li data-icon="play" data-icon-align="right"><img ng-src="{{item.img}}" />
                        <h4>{{item.title}}</h4>
                        <p>{{item.artist}}</p>
                    </li>
                </ul>

            </li>

        </ul>
    </div>

    <div class="md-cont md-book-cont md-selected" ng-if="currentPage == 'books'">
        <ul class="md-category md-book-category mbsc-cloak" mobiscroll-tab-nav="categorySetting" mobiscroll-instance="categories.booksInstance">
            <li data-id="1" data-page="md-fantasy" data-selected="true">Fantasy</li>
            <li data-id="2" data-page="md-edu">Education</li>
            <li data-id="3" data-page="md-history">History</li>
            <li data-id="4" data-page="md-scifi">Sci-Fi</li>
            <li data-id="5" data-page="md-romance">Romance</li>
        </ul>

        <ul class="md-content" mobiscroll-scrollview="contentSettings" mobiscroll-instance="contents.booksInstance" data-cat="md-book-category">
            <li class="md-fantasy" data-id="1">
                <ul class="md-music-lv md-list mbsc-cloak" mobiscroll-listview="listviewSettings" mobiscroll-data="data.books.fantasyb">
                    <li data-icon="play" data-icon-align="right"><img ng-src="{{item.img}}" />
                        <h4>{{item.title}}</h4>
                        <p>{{item.author}}</p>
                    </li>
                </ul>
            </li>

            <li class="md-edu">
                <ul class="md-music-lv md-list mbsc-cloak" mobiscroll-listview="listviewSettings" mobiscroll-data="data.books.education">
                    <li data-icon="play" data-icon-align="right"><img ng-src="{{item.img}}" />
                        <h4>{{item.title}}</h4>
                        <p>{{item.author}}</p>
                    </li>
                </ul>
            </li>

            <li class="md-history">
                <ul class="md-music-lv md-list mbsc-cloak" mobiscroll-listview="listviewSettings" mobiscroll-data="data.books.history">
                    <li data-icon="play" data-icon-align="right"><img ng-src="{{item.img}}" />
                        <h4>{{item.title}}</h4>
                        <p>{{item.author}}</p>
                    </li>
                </ul>


            </li>

            <li class="md-scifi">
                <ul class="md-music-lv md-list mbsc-cloak" mobiscroll-listview="listviewSettings" mobiscroll-data="data.books.scifyb">
                    <li data-icon="play" data-icon-align="right"><img ng-src="{{item.img}}" />
                        <h4>{{item.title}}</h4>
                        <p>{{item.author}}</p>
                    </li>
                </ul>
            </li>

            <li class="md-romance">
                <ul class="md-music-lv md-list mbsc-cloak" mobiscroll-listview="listviewSettings" mobiscroll-data="data.books.romanceb">
                    <li data-icon="play" data-icon-align="right"><img ng-src="{{item.img}}" />
                        <h4>{{item.title}}</h4>
                        <p>{{item.author}}</p>
                    </li>
                </ul>
            </li>

        </ul>
    </div>

    <div class="md-cont md-movie-cont md-selected" ng-if="currentPage == 'movies'">
        <ul class="md-category md-movie-category mbsc-cloak" mobiscroll-tab-nav="categorySetting" mobiscroll-instance="categories.moviesInstance">
            <li data-id="1" data-page="md-movie-fantasy" data-selected="true">Fantasy</li>
            <li data-id="2" data-page="md-movie-edu">Horror</li>
            <li data-id="3" data-page="md-movie-animation">Animation</li>
            <li data-id="4" data-page="md-movie-scifi">Sci-Fi</li>
            <li data-id="5" data-page="md-movie-romance">Romance</li>
        </ul>

        <ul class="md-content mbsc-cloak" mobiscroll-scrollview="contentSettings" mobiscroll-instance="contents.moviesInstance" data-cat="md-movie-category">
            <li class="md-movie-fantasy" data-id="1">
                <ul class="md-music-lv md-list mbsc-cloak" mobiscroll-listview="listviewSettings" mobiscroll-data="data.movies.fantasym">
                    <li data-icon="play" data-icon-align="right"><img ng-src="{{item.img}}" />
                        <h4>{{item.title}}</h4>
                        <p>{{item.producer}}</p>
                    </li>
                </ul>
            </li>

            <li class="md-movie-edu">
                <ul class="md-music-lv md-list mbsc-cloak" mobiscroll-listview="listviewSettings" mobiscroll-data="data.movies.horror">
                    <li data-icon="play" data-icon-align="right"><img ng-src="{{item.img}}" />
                        <h4>{{item.title}}</h4>
                        <p>{{item.author}}</p>
                    </li>
                </ul>
            </li>

            <li class="md-movie-animation">
                <ul class="md-music-lv md-list mbsc-cloak" mobiscroll-listview="listviewSettings" mobiscroll-data="data.movies.animation">
                    <li data-icon="play" data-icon-align="right"><img ng-src="{{item.img}}" />
                        <h4>{{item.title}}</h4>
                        <p>{{item.author}}</p>
                    </li>
                </ul>
            </li>

            <li class="md-movie-scifi">
                <ul class="md-music-lv md-list mbsc-cloak" mobiscroll-listview="listviewSettings" mobiscroll-data="data.movies.scifym">
                    <li data-icon="play" data-icon-align="right"><img ng-src="{{item.img}}" />
                        <h4>{{item.title}}</h4>
                        <p>{{item.author}}</p>
                    </li>
                </ul>
            </li>

            <li class="md-movie-romance">
                <ul class="md-music-lv md-list mbsc-cloak" mobiscroll-listview="listviewSettings" mobiscroll-data="data.movies.romancem">
                    <li data-icon="play" data-icon-align="right"><img ng-src="{{item.img}}" />
                        <h4>{{item.title}}</h4>
                        <p>{{item.author}}</p>
                    </li>
                </ul>
            </li>
        </ul>
    </div>
</div>
body,
mbsc-page>.mbsc-page {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: visible;
}

.demo-paging,
.md-paging,
.md-paging>div,
.md-paging .md-page {
    height: 100%;
    padding: 0;
    overflow: hidden;
}

.md-paging .md-cont {
    display: none;
}

.md-paging .md-selected {
    display: block;
}

.md-paging .md-list-cont,
.md-paging .mbsc-lv-cont {
    -webkit-box-flex: 1;
    -webkit-flex: 1 auto;
    -ms-flex: 1 auto;
    flex: 1 auto;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.md-paging .mbsc-lv-img {
    pointer-events: none;
    border-radius: 2.8em;
    height: 2.8em;
}

Scrollview - Cards

Change demo
Cards
AngularJS Horizontally scrollable card list grouped by interest or category. Segment content for discoverability and navigation. For AngularJS (1.x) and Ionic 1.
angular
    .module('demoApp', ['mobiscroll-scrollview', 'mobiscroll-form', 'mobiscroll-cards'])
    .controller('demoController', ['$scope', function ($scope) {
        $scope.settings = {
            lang: '',
            theme: '',
            layout: 'fixed',
            itemWidth: 134,
            snap: false
        };

        $scope.cardSettings = {
            lang: '',
            theme: ''
        };

        $scope.newGames = [{
            image: 'worms3.png',
            title: 'Worms 3',
            dev: 'Team 17 Digital Limited',
            rank: 4.2
        }, {
            image: 'candycrush.png',
            title: 'Candy Crush Saga',
            dev: 'King',
            rank: 4.3
        }, {
            image: 'angrybirds.png',
            title: 'Angry Birds',
            dev: 'Rovino',
            rank: 4.4
        }, {
            image: 'nfs.png',
            title: 'Need for Speed™ No Limits',
            dev: 'ELECTRONIC ARTS',
            rank: 4.3
        }, {
            image: 'heartstone.png',
            title: 'Hearthstone',
            dev: 'Blizzard Entertainment Inc.',
            rank: 4.2
        }, {
            image: 'fruitninja.png',
            title: 'Fruit Ninja',
            dev: 'Halfbrick Studios',
            rank: 4.3
        }, {
            image: 'subwaysurf.png',
            title: 'Subway Surfers',
            dev: 'Kiloo',
            rank: 4.4
        }, {
            image: 'templerun.png',
            title: 'Temple Run',
            dev: 'Imangi Studios',
            rank: 4.3
        }, {
            image: 'minecraft.png',
            title: 'Minecraft: Pocket Edition',
            dev: 'Mojang ',
            rank: 4.4
        }];

        $scope.mediaVideo = [{
            image: 'vlc.png',
            title: 'VLC for Android',
            dev: 'Videolabs ',
            rank: 4.3
        }, {
            image: 'realplayer.png',
            title: 'RealPlayer®',
            dev: 'RealNetworks, Inc.',
            rank: 4.3
        }, {
            image: 'motogal.png',
            title: 'Motorola Gallery',
            dev: 'Motorola Mobility LLC. ',
            rank: 3.9
        }, {
            image: 'revesemov.png',
            title: 'Reverse Movie FX',
            dev: 'Bizo Mobile',
            rank: 4.6
        }, {
            image: 'sure.png',
            title: 'SURE Universal Remote',
            dev: 'Tekoia Ltd.',
            rank: 4.4
        }, {
            image: 'ringdriod.png',
            title: 'Ringdroid',
            dev: 'Ringdroid Team ',
            rank: 4.4
        }, {
            image: 'funny.png',
            title: 'Funny Camera - Video Booth Fun',
            dev: 'Kiloo',
            rank: 4.1
        }, {
            image: 'gif.png',
            title: 'GIF Keyboard',
            dev: 'IRiffsy, Inc.',
            rank: 4.1
        }, {
            image: 'bs.png',
            title: 'BSPlayer',
            dev: 'BSPlayer media',
            rank: 4.4
        }, {
            image: 'vac.png',
            title: 'video audio cutter',
            dev: 'mytechnosound ',
            rank: 4.3
        }];

        $scope.newUpdated = [{
            image: 'netflix.png',
            title: 'Netflix',
            dev: 'Netflix, Inc. ',
            rank: 4.4
        }, {
            image: 'colorfy.png',
            title: 'Colorfy - Coloring Book Free',
            dev: 'Fun Games For Free',
            rank: 4.7
        }, {
            image: 'wego.png',
            title: 'Wego Flights & Hotels',
            dev: 'Wego.com',
            rank: 4.3
        }, {
            image: 'ali.png',
            title: 'Alibaba.com B2B Trade App',
            dev: 'Alibaba.com Hong Kong Limited ',
            rank: 4.1
        }, {
            image: '5k.png',
            title: '5K Run: 5K Runner®',
            dev: 'Fitness22',
            rank: 4.4
        }, {
            image: 'nuzzelnws.png',
            title: 'Nuzzel News',
            dev: 'Nuzzel, Inc.',
            rank: 4.3
        }, {
            image: 'solarsysexpl.png',
            title: 'Solar System Explorer 3D',
            dev: 'Neil Burlock',
            rank: 4.5
        }, {
            image: 'elevate.png',
            title: 'Elevate - Brain Training',
            dev: 'Elevate Labs',
            rank: 4.5
        }, {
            image: 'deezer.png',
            title: 'Deezer Music',
            dev: 'Deezer Mobile',
            rank: 4.1
        }];
    }]);
<div ng-app="demoApp" ng-controller="demoController" class="md-cards">
    <div class="md-card-cont">
        <h3>New & Updated Games</h3>
        <ul class="demo-card" mobiscroll-scrollview="settings" class="mbsc-cloak">
            <li mobiscroll-card="cardSettings" ng-repeat="item in newGames" class="mbsc-cloak">
                <mobiscroll-card-content>
                    <img class="md-img" src="https://img.mobiscroll.com/demos/{{item.image}}" draggable="false" />
                    <mobiscroll-card-title>{{item.title}}</mobiscroll-card-title>
                    <mobiscroll-card-subtitle>{{item.dev}}</mobiscroll-card-subtitle>
                    <div class="md-rank">{{item.rank}}<span class="mbsc-ic mbsc-ic-star3"></span></div>
                </mobiscroll-card-content>
            </li>
        </ul>

        <h3>Media & Video Apps</h3>
        <ul class="demo-card" mobiscroll-scrollview="settings" class="mbsc-cloak">
            <li mobiscroll-card="cardSettings" ng-repeat="item in mediaVideo">
                <mobiscroll-card-content>
                    <img class="md-img" src="https://img.mobiscroll.com/demos/{{item.image}}" draggable="false" />
                    <mobiscroll-card-title>{{item.title}}</mobiscroll-card-title>
                    <mobiscroll-card-subtitle>{{item.dev}}</mobiscroll-card-subtitle>
                    <div class="md-rank">{{item.rank}}<span class="mbsc-ic mbsc-ic-star3"></span></div>
                </mobiscroll-card-content>
            </li>
        </ul>

        <h3>New & Updated Apps</h3>
        <ul class="demo-card" mobiscroll-scrollview="settings" class="mbsc-cloak">
            <li mobiscroll-card="cardSettings" ng-repeat="item in newUpdated">
                <mobiscroll-card-content>
                    <img class="md-img" src="https://img.mobiscroll.com/demos/{{item.image}}" draggable="false" />
                    <mobiscroll-card-title>{{item.title}}</mobiscroll-card-title>
                    <mobiscroll-card-subtitle>{{item.dev}}</mobiscroll-card-subtitle>
                    <div class="md-rank">{{item.rank}}<span class="mbsc-ic mbsc-ic-star3"></span></div>
                </mobiscroll-card-content>
            </li>
        </ul>
    </div>
</div>
.md-cards h3 {
    padding: .5em;
    margin: 0;
}

.demo-card .mbsc-scv-item {
    padding: 0 0 2em 0;
    -webkit-box-pack: start;
    -moz-box-pack: start;
    -webkit-justify-content: flex-start;
    -ms-justify-content: flex-start;
    justify-content: flex-start;
}

.demo-card .mbsc-card-content {
    padding: 8px;
}

.md-img {
    pointer-events: none;
    border-radius: 8px;
}

.demo-card .mbsc-card-title {
    font-size: 14px;
    padding-top: 8px;
    margin: 0;
}

.demo-card .mbsc-card-subtitle {
    font-size: 11px;
    padding-top: 3px;
    margin: 0;
}

.demo-card .mbsc-ic {
    padding-left: 3px;
}

.md-rank {
    font-size: 12px;
    position: absolute;
    bottom: 8px;
    left: 8px;
}

Scrollview - Layout

Change demo
Layout
AngularJS Horizontally scrollable elements with fixed, variable width, paging and full-width containers for image & content carousel. For AngularJS (1.x) and Ionic 1.
angular
    .module('demoApp', ['mobiscroll-scrollview'])
    .controller('demoController', ['$scope', function ($scope) {
        $scope.fixedSettings = {
            theme: '',
            layout: 'fixed',
            itemWidth: 80
        };

        $scope.variableSettings = {
            theme: ''
        };

        $scope.pagingSettings = {
            theme: '',
            layout: 3,
            paging: true
        };

        $scope.fullpageSettings = {
            theme: '',
            layout: 1,
            paging: true
        };
    }]);
<div ng-app="demoApp" ng-controller="demoController" class="md-layout">
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Fixed width</div>
        <div mobiscroll-scrollview="fixedSettings" class="mbsc-cloak md-fixed">
            <div class="bck-orange">1</div>
            <div class="bck-red">2</div>
            <div class="bck-green">3</div>
            <div class="bck-yellow">4</div>
            <div class="bck-blue">5</div>
            <div class="bck-pink">6</div>
        </div>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Variable width</div>
        <div mobiscroll-scrollview="variableSettings" class="mbsc-cloak md-variable">
            <div class="bck-green variable-1">1</div>
            <div class="bck-blue variable-2">2</div>
            <div class="bck-orange variable-3">3</div>
            <div class="bck-red variable-4">4</div>
            <div class="bck-pink variable-5">5</div>
            <div class="bck-yellow variable-6">6</div>
        </div>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Paging</div>
        <div mobiscroll-scrollview="pagingSettings" class="mbsc-cloak md-pages">
            <div class="bck-pink">1</div>
            <div class="bck-yellow">2</div>
            <div class="bck-red">3</div>
            <div class="bck-green">4</div>
            <div class="bck-blue">5</div>
            <div class="bck-orange">6</div>
        </div>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Full page</div>
        <div mobiscroll-scrollview="fullpageSettings" class="mbsc-cloak md-fullpage">
            <div class="bck-blue">1</div>
            <div class="bck-pink">2</div>
            <div class="bck-green">3</div>
            <div class="bck-orange">4</div>
            <div class="bck-red">5</div>
            <div class="bck-yellow">6</div>
        </div>
    </div>
</div>
.bck-orange {
    background: #ff9800;
}

.bck-red {
    background: #f4511e;
}

.bck-green {
    background: #afb42b;
}

.bck-yellow {
    background: #ffc400;
}

.bck-blue {
    background: #64b5f6;
}

.bck-pink {
    background: #f48fb1;
}

.md-layout .mbsc-scv-item {
    color: #fff;
    font-weight: bold;
    text-align: center;
}

.md-layout .mbsc-scv-c {
    margin: 10px 0;
}

.variable-1 {
    width: 60px;
    height: 60px;
}

.variable-2 {
    width: 80px;
    height: 80px;
}

.variable-3 {
    width: 70px;
    height: 70px;
}

.variable-4 {
    width: 50px;
    height: 50px;
}

.variable-5 {
    width: 100px;
    height: 100px;
}

.variable-6 {
    width: 40px;
    height: 40px;
}

.md-fixed .mbsc-scv-item {
    height: 80px;
    margin: 0 10px;
}

.md-variable .mbsc-scv-item {
    margin: auto 10px;
}

.md-pages .mbsc-scv-item {
    height: 80px;
}

.md-fullpage .mbsc-scv-item {
    height: 630px;
    font-size: 28px;
}

Scrollview - RTL Support

Change demo
RTL Support
AngularJS Horizontal scroll view with full RTL support and source. For AngularJS (1.x) and Ionic 1.
mobiscroll.settings = {
    lang: '',
    theme: ''
};

angular
    .module('demoApp', ['mobiscroll-scrollview', 'mobiscroll-form'])
    .controller('demoController', ['$scope', function ($scope) {
        $scope.formSettings = {
            rtl: true
        };

        $scope.fixedSettings = {
            layout: 'fixed',
            itemWidth: 80,
            rtl: true
        };

        $scope.variableSettings = {
            rtl: true
        };

        $scope.pagingSettings = {
            layout: 3,
            paging: true,
            rtl: true
        };

        $scope.fullpageSettings = {
            layout: 1,
            paging: true,
            rtl: true
        };
    }]);
<div ng-app="demoApp" ng-controller="demoController">
    <div mobiscroll-form="formSettings" class="md-layout">
        <div class="mbsc-form-group">
            <div class="mbsc-form-group-title">Fixed width</div>
            <div mobiscroll-scrollview="fixedSettings" class="md-fixed mbsc-cloak">
                <div class="bck-orange">1</div>
                <div class="bck-red">2</div>
                <div class="bck-green">3</div>
                <div class="bck-yellow">4</div>
                <div class="bck-blue">5</div>
                <div class="bck-pink">6</div>
            </div>
        </div>
        <div class="mbsc-form-group">
            <div class="mbsc-form-group-title">Variable width</div>
            <div mobiscroll-scrollview="variableSettings" class="md-variable mbsc-cloak">
                <div class="bck-green variable-1">1</div>
                <div class="bck-blue variable-2">2</div>
                <div class="bck-orange variable-3">3</div>
                <div class="bck-red variable-4">4</div>
                <div class="bck-pink variable-5">5</div>
                <div class="bck-yellow variable-6">6</div>
            </div>
        </div>
        <div class="mbsc-form-group">
            <div class="mbsc-form-group-title">Paging</div>
            <div mobiscroll-scrollview="pagingSettings" class="md-pages mbsc-cloak">
                <div class="bck-pink">1</div>
                <div class="bck-yellow">2</div>
                <div class="bck-red">3</div>
                <div class="bck-green">4</div>
                <div class="bck-blue">5</div>
                <div class="bck-orange">6</div>
            </div>
        </div>
        <div class="mbsc-form-group">
            <div class="mbsc-form-group-title">Full page</div>
            <div mobiscroll-scrollview="fullpageSettings" class="md-fullpage mbsc-cloak">
                <div class="bck-blue">1</div>
                <div class="bck-pink">2</div>
                <div class="bck-green">3</div>
                <div class="bck-orange">4</div>
                <div class="bck-red">5</div>
                <div class="bck-yellow">6</div>
            </div>
        </div>
    </div>
</div>
.bck-orange {
    background: #ff9800;
}

.bck-red {
    background: #f4511e;
}

.bck-green {
    background: #afb42b;
}

.bck-yellow {
    background: #ffc400;
}

.bck-blue {
    background: #64b5f6;
}

.bck-pink {
    background: #f48fb1;
}

.md-layout .mbsc-scv-item {
    color: #fff;
    font-weight: bold;
    text-align: center;
}

.md-layout .mbsc-scv-c {
    margin: 10px 0;
}

.variable-1 {
    width: 60px;
    height: 60px;
}

.variable-2 {
    width: 80px;
    height: 80px;
}

.variable-3 {
    width: 70px;
    height: 70px;
}

.variable-4 {
    width: 50px;
    height: 50px;
}

.variable-5 {
    width: 100px;
    height: 100px;
}

.variable-6 {
    width: 40px;
    height: 40px;
}

.md-fixed .mbsc-scv-item {
    height: 80px;
    margin: 0 10px;
}

.md-variable .mbsc-scv-item {
    margin: auto 10px;
}

.md-pages .mbsc-scv-item {
    height: 80px;
}

.md-fullpage .mbsc-scv-item {
    height: 630px;
    font-size: 28px;
}

Scrollview - Event handlers

Change demo
Event handlers
AngularJS Horizontally scrollable page-view demo with event hooks for custom integration and functionality. For AngularJS (1.x) and Ionic 1.
Clear event log
EVENTS FIRED: 
angular
    .module('demoApp', ['mobiscroll-scrollview'])
    .controller('demoController', ['$scope', function ($scope) {

        $scope.settings = {
            theme: '',
            layout: 1,
            paging: true,
            onInit: function (event, inst) {
                // Your custom event handler goes here
            },
            onMarkupReady: function (event, inst) {
                // Your custom event handler goes here
            },
            onMove: function (event, inst) {
                // Your custom event handler goes here
            },
            onItemTap: function (event, inst) {
                // Your custom event handler goes here
            },
            onAnimationStart: function (event, inst) {
                // Your custom event handler goes here
            },
            onAnimationEnd: function (event, inst) {
                // Your custom event handler goes here
            },
            onGestureStart: function (event, inst) {
                // Your custom event handler goes here
            },
            onGestureEnd: function (event, inst) {
                // Your custom event handler goes here
            }
        }

    }]);
<div ng-app="demoApp" ng-controller="demoController">
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Paging</div>
        <div mobiscroll-scrollview="settings" class="mbsc-cloak md-scrollview-events">
            <div class="bck-green">1</div>
            <div class="bck-yellow">2</div>
            <div class="bck-pink">3</div>
            <div class="bck-orange">4</div>
            <div class="bck-blue">5</div>
            <div class="bck-red">6</div>
        </div>
    </div>
</div>
.bck-orange {
    background: #ff9800;
}

.bck-red {
    background: #f4511e;
}

.bck-green {
    background: #afb42b;
}

.bck-yellow {
    background: #ffc400;
}

.bck-blue {
    background: #64b5f6;
}

.bck-pink {
    background: #f48fb1;
}

.md-scrollview-events .mbsc-scv-item {
    height: 200px;
    color: #fff;
    font-weight: bold;
    text-align: center;
}

Looking for something you didn't see or have a sales question?
Ask us about it, we're here to help.

Component license


Purchase component licenses if you are looking for specific funcionality.

Total


All features will be included with the license.

Buy component license

Framework license


Get all 36 components, including with the Framework license.



Mobiscroll for Angular JS & Ionic 1 $595


Use Javascript when building with plain and simple JS. Use jQuery when you have jQuery already included or if you are building with jQuery Mobile. Use AngularJS when building with Angular 1.x or Ionic 1. Use Angular when building with Angular 2/4/5/6/7 or Ionic 2/3/4. Use it when you are building your app or website with React.


Buy framework license
See other licensing options

Framework license


Get all 36 components, including with the Framework license.



Mobiscroll for AngularJS $595


  • Use it when building with plain and simple JS
  • Compatible with vanilla JS app or frameworks like Vue
  • Royalty-free commercial usage
  • Technical support is included with the license
  • Use it with jQuery and jQuery Mobile
  • Enjoy the familiar API if you already use jQuery
  • Royalty-free commercial usage
  • Technical support is included with the license
  • Use it with Angular JS and Ionic 1
  • For web and mobile apps based on Angular 1.x
  • Royalty-free commercial usage
  • Technical support is included with the license
  • Use it with Angular 2/4/5/6/7 and Ionic 2/3/4
  • Visual Studio and VS Code integration
  • Royalty-free commercial usage
  • Technical support is included with the license
  • Use it when building with React JS
  • Collection of UI components for web and mobile
  • Royalty-free commercial usage
  • Technical support is included with the license
Buy framework license
See other licensing options

Framework license


Select the development framework you are using. Get all 36 components with the license.

Mobiscroll for Javascript
Mobiscroll for jQuery
Mobiscroll for React
Mobiscroll for Angular
Mobiscroll for Angular JS
  • Use it when building with plain and simple JS
  • Compatible with vanilla JS app or frameworks like Vue
  • Royalty-free commercial usage
  • Technical support is included with the license
  • Use it with jQuery and jQuery Mobile
  • Enjoy the familiar API if you already use jQuery
  • Royalty-free commercial usage
  • Technical support is included with the license
  • Use it with Angular JS and Ionic 1
  • For web and mobile apps based on Angular 1.x
  • Royalty-free commercial usage
  • Technical support is included with the license
  • Use it with Angular 2/4/5/6/7 and Ionic 2/3/4
  • Visual Studio and VS Code integration
  • Royalty-free commercial usage
  • Technical support is included with the license
  • Use it when building with React JS
  • Collection of UI components for web and mobile
  • Royalty-free commercial usage
  • Technical support is included with the license
Buy framework license
See other licensing options

Select the framework you are interested in

Javascript
jQuery
Angular
Angular JS
React

Use Javascript when building with plain and simple JS.

Use jQuery when you have jQuery already included or if you are building with jQuery Mobile.

Use AngularJS when building with Angular 1.x or Ionic 1.

Use Angular when building with Angular 2/4/5/6/7 or Ionic 2/3/4.

Use it when you are building your app or website with React.

Do you need additional support seats?

The framework license comes with one support seat. ( +$50/seat )

Add the source code?

Price
Buy now
Customize & try demos locally
Sign in or start your free trial

What framework are you using?

Javascript
jQuery
AngularJS
Angular
Ionic
React
Other
Select a framework
Email address

Customize & try this demo locally
Sign in or start your free trial

We have to set you up with a trial for this to run 👍

Email address

Customize & try demos locally
You can download and use Mobiscroll for Free

What framework are you using?

Javascript
jQuery
AngularJS
Angular
Ionic
React
Other
Select a framework
Install demo in your app
Follow this quick, two minute install guide
Close window

Step 1.Install the Mobiscroll CLI from npm

Copy command
$ npm install -g @mobiscroll/cli

The CLI makes configuring your apps super simple 👍

Step 2.Run the following command in the root folder of your Ionic project

Copy command
$ mobiscroll config ionic
$ mobiscroll config ionic --lite

You will be prompted to log in with your mobiscroll account. Set your password here

Create an Ionic 3 & Mobiscroll starter with the CLI:

$ mobiscroll start ionic myStarter

Run this command for Ionic 4 & Mobiscroll starter:

$ mobiscroll start ionic-angular myStarter

Step 3.Copy the code into your app. HTML goes into the markup, TS into Typescript.

Copy TS
Copy HTML
Copy CSS

Run ionic serve in the root folder of your app 🎉

Copy command
$ ionic serve
Thanks for downloading
Try and customize the app locally

Extract the zip file and run the project like any Ionic app. Make sure to have Ionic CLI installed and open the terminal in the app root folder.

Step 1. Run in root folder
$ npm install
Step 2. Start the app
$ ionic serve

Let us know if we can help and enjoy!

Change your password
Need to update your password? Enter and hit the button below

You are setting a password for the account

New Password Required Enter at least 6 characters
Change your password
Need to update your password? Enter and hit the button below

Your password has been changed!

Thanks for downloading
Customize demos locally

Everything is set up so that you can dig in right away and start exploring.

We have set up a trial so that you can try the demos locally.

Extract the zip file and open the demo in your favorite browser. To install Mobiscroll in your project follow instructions from this page.


Let us know if we can help and enjoy! 👍

Thanks for downloading
Customize demos locally

The demo is using an in-browser TypeScript transpiler app as its base. Extract the zip file and open the index.html on your local dev server.

You can also use live-server. For installation and usage, open a terminal window and follow these steps.

Step 1. Install live-server
$ npm install -g live-server
Step 2. Start server & run app
$ live-server

Let us know if we can help and enjoy! 👍

Thanks for downloading
Customize demos locally

Everything is set up so that you can dig in right away and start exploring.

We have set up a trial so that you can try the demos locally.

The easiest way to get started is to follow the installation steps and by grabbing the code directly from the demo page. Let us know if we can help and enjoy!

You'll find a fully functional Kitchen-sink Ionic app in the zip file.

Thanks for downloading
Customize demos locally

Everything is set up so that you can dig in right away and start exploring.

We have set up a trial so that you can try the demos locally.

The demos are using Babel's in-browser ES6 and JSX transformer. Extract the zip file and open the demo in your browser. To install Mobiscroll in your project follow instructions from this page.


Let us know if we can help and enjoy! 👍

Demos
Alerts & notifications
Alert Notifications Note
Components
Alerts & notifications 3
Buttons 4
Calendar 26
Cards 14
Color 10
Date & Time 19
Event Calendar 20
Forms 9
Grid layout 7
Image 7
Inputs & fields 6
Listview 17
Measurement 10
Navigation 8
Number 8
Numpad 13
Option List 4
Popup 10
Range 18
Scroller 7
Scrollview 5
Select 16
Slider & progress 4
Styling 6
Timer 5
Timespan 6
Toggle & Radio 4
Treelist 7
Theme Select
Mobiscroll
Mobiscroll Dark
Material
Material Dark
iOS
iOS Dark
Bootstrap
Windows
Windows Dark
Display Mode
Language Locale
See other demos and change options
Theme
Display
Locale
See other demos