Listview - Basic

Choose demo
import { MbscListviewOptions } from '@mobiscroll/angular';

@Component({
    selector: 'demo-app',
    templateUrl: './app.component.html'
})
export class AppComponent {
    movies = [
        { title: 'The Shawshank Redemption (1994)' },
        { title: 'The Godfather (1972)' },
        { title: 'The Godfather: Part II (1974)' },
        { title: 'The Dark Knight (2008)' },
        { title: '12 Angry Men (1957)' },
        { title: 'Schindler\'s List (1993)' },
        { title: 'The Lord of the Rings: The Return of the King (2003)' },
        { title: 'Pulp Fiction (1994)' }
    ];

    moreMovies = [
        { title: 'The Good, the Bad and the Ugly (1966)' },
        { title: 'Fight Club (1999)' },
        { title: 'The Lord of the Rings: The Fellowship of the Ring (2001)' },
        { title: 'Forrest Gump (1994)' },
        { title: 'Star Wars: Episode V - The Empire Strikes Back (1980)' },
        { title: 'Inception (2010)' },
        { title: 'The Lord of the Rings: The Two Towers (2002)' },
        { title: 'One Flew Over the Cuckoo\'s Nest (1975)' }
    ]

    formSettings = {
        lang: '',
        theme: ''
    };
    
    simpleSettings: MbscListviewOptions = {
        theme: '',
        lang: '',
        display: ''
    };
    
    stripedSettings: MbscListviewOptions = {
        theme: '',
        lang: '',
        display: '',
        striped: true
    };
}
<mbsc-form [options]="formSettings">
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Simple</div>
        <mbsc-listview [options]="simpleSettings" style="display:none">
            <mbsc-listview-item *ngFor="let item of movies">{{ item.title }}</mbsc-listview-item>
        </mbsc-listview>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Striped</div>
        <mbsc-listview [options]="stripedSettings" style="display:none">
            <mbsc-listview-item *ngFor="let item of moreMovies">{{ item.title }}</mbsc-listview-item>
        </mbsc-listview>
    </div>
</mbsc-form>

Listview - Content

Choose demo
import { MbscListviewOptions } from '@mobiscroll/angular';

@Component({
    selector: 'demo-app',
    templateUrl: './app.component.html'
})
export class AppComponent {
    multilineList = [{
        title: 'Electric Smartscooter',
        text: 'Gogoro Smartscooter is world’s first connected two-wheeled electric vehicle.'
    }, {
        title: 'The Solar Bike',
        text: 'An electric bike that incorporates solar panels and producing enough energy to use it 30 km a day'
    }, {
        title: 'Smallest Quadricopter',
        text: 'The Dutch gadget-manufacturer TRNDlabs reveals the smallest quadricopter of the world'
    }, {
        title: 'Glow Headphones',
        text: 'Discover the world’s first laser headphones that pulse to the music'
    }];

    customList = [{
        title: 'The Intouchables (2011)',
        rate: 8.5
    }, {
        title: 'The Shawshank Redemption(1994)',
        rate: 9.2
    }, {
        title: 'Fight Club(1999)',
        rate: 8.8
    }, {
        title: 'Inception(2010)',
        rate: 8.7
    }];

    cardList = [{
        title: 'Netflix',
        text: 'Sherlock Series 3 is now avalable on Netflix',
        img: '/Content/img/demos/netflix.png'
    }, {
        title: 'Angry birds',
        text: 'Dont forget your daily Arena entry.',
        img: '/Content/img/demos/angrybirds.png'
    }, {
        title: 'Candycam',
        text: 'A new update is available!',
        img: '/Content/img/demos/candycam.png'
    }];

    multilineSettings: MbscListviewOptions = {
        theme: '',
        lang: '',
        enhance: true,
        swipe: false
    }
    customSettings: MbscListviewOptions = {
        theme: '',
        lang: '',
        enhance: true,
        swipe: false
    }
    cardSettings: MbscListviewOptions = {
        theme: '',
        lang: '',
        swipe: false
    }

    formSettings = {
        lang: '',
        theme: ''
    };
}
<mbsc-form [options]="formSettings">
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Multiline text</div>
        <mbsc-listview [options]="multilineSettings" style="display:none">
            <mbsc-listview-item *ngFor="let item of multilineList">
                <h3>{{item.title}}</h3>
                <p>{{item.text}}</p>
            </mbsc-listview-item>
        </mbsc-listview>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Custom CSS</div>
        <mbsc-listview [options]="customSettings" style="display:none" class="md-custom-listview">
            <mbsc-listview-item *ngFor="let item of customList">
                {{item.title}}
                <span class="md-star-icon mbsc-ic mbsc-ic-star3">{{item.rate}}</span>
            </mbsc-listview-item>
        </mbsc-listview>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Custom CSS</div>
        <mbsc-listview [options]="cardSettings" style="display:none">
            <mbsc-listview-item mbsc-card *ngFor="let item of cardList">
                <mbsc-card-content>
                    <mbsc-avatar src="{{item.img}}"></mbsc-avatar>
                    <mbsc-card-title class="mbsc-bold">{{item.title}}</mbsc-card-title>
                    <mbsc-card-subtitle>{{item.text}}</mbsc-card-subtitle>
                </mbsc-card-content>
            </mbsc-listview-item>
        </mbsc-listview>
    </div>
</mbsc-form>
.md-custom-listview .mbsc-lv-item {
    background: #c3e8fb;
    padding-top: 30px;
    padding-bottom: 30px;
}

.md-custom-listview .md-star-icon {
    float: right;
    font-weight: bold;
    color: #ff8400;
}

.md-custom-listview .md-star-icon:before {
    margin-right: 5px;
}

Listview - Image/Icon/Avatar

Choose demo
import { MbscListviewOptions } from '@mobiscroll/angular';

@Component({
    selector: 'demo-app',
    templateUrl: './app.component.html'
})
export class AppComponent {
    movies = [{
        imgsrc: '/Content/img/demos/Requiem_for_a_Dream.png',
        title: 'Requiem for a Dream',
        director: 'Darren Aronofsky'
    }, {
        imgsrc: '/Content/img/demos/The_Dark_Knight.png',
        title: 'The Dark Knight',
        director: 'Christopher Nolan'
    }, {
        imgsrc: '/Content/img/demos/Despicable_Me.png',
        title: 'Despicable Me',
        director: 'Pierre Coffin and Chris Renaud'
    }, {
        imgsrc: '/Content/img/demos/Mr_Nobody.png',
        title: 'Mr. Nobody',
        director: 'Jaco Van Dormael'
    }];

    icons = [{
        icon: 'line-user',
        name: 'Edit profile'
    }, {
        icon: 'line-settings',
        name: 'Settings'
    }, {
        icon: 'line-heart',
        name: 'Rate'
    }, {
        icon: 'line-bubble',
        name: 'Tell a friend'
    }];


    users = [{
        imgsrc: '/Content/img/demos/m1.png',
        user: 'Barry Lyon',
        phone: '(202) 555-0193'
    }, {
        imgsrc: '/Content/img/demos/f1.png',
        user: 'Hortense Tinker',
        phone: '(202) 555-0127'
    }, {
        imgsrc: '/Content/img/demos/m2.png',
        user: 'Carl Hambledon',
        phone: '(202) 555-0147'
    }, {
        imgsrc: '/Content/img/demos/f2.png',
        user: 'Arlene Sharman',
        phone: '(202) 555-0190'
    }];

    imageSettings: MbscListviewOptions = {
        theme: '',
        lang: '',
        display: '',
        enhance: true,
        swipe: false
    };

    iconSettings: MbscListviewOptions = {
        theme: '',
        lang: '',
        display: '',
        enhance: true,
        swipe: false
    };

    avatarSettings: MbscListviewOptions = {
        theme: '',
        lang: '',
        display: '',
        enhance: true,
        swipe: false
    };
    
        formSettings = {
        lang: '',
        theme: ''
    };

}
<mbsc-form [options]="formSettings">
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Image</div>
        <mbsc-listview [options]="imageSettings" style="display:none">
            <mbsc-listview-item *ngFor="let item of movies">
                <img [src]="item.imgsrc">
                <h3>{{item.title}}</h3>
                <p>Directed by {{item.director}}</p>
            </mbsc-listview-item>
        </mbsc-listview>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Icon</div>
        <mbsc-listview [options]="iconSettings" style="display:none">
            <mbsc-listview-item *ngFor="let item of icons" icon="{{item.icon}}">{{item.name}}</mbsc-listview-item>
        </mbsc-listview>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Avatar</div>
        <mbsc-listview [options]="avatarSettings" style="display:none">
            <mbsc-listview-item *ngFor="let item of users">
                <img [src]="item.imgsrc">
                <h3>{{item.user}}</h3>
                <p>{{item.phone}}</p>
            </mbsc-listview-item>
        </mbsc-listview>
    </div>
</mbsc-form>

Listview - Sorting & ordering

Choose demo
import { mobiscroll, MbscListviewOptions } from '@mobiscroll/angular';

mobiscroll.settings = {
    lang: '',
    theme: ''
};

@Component({
    selector: 'demo-app',
    templateUrl: './app.component.html'
})

export class AppComponent {

    data = [{
        imgsrc: '/Content/img/demos/m1.png',
        h3: 'Barry Lyon',
        p: '(202) 555-0193'
    }, {
        imgsrc: '/Content/img/demos/f1.png',
        h3: 'Hortense Tinker',
        p: '(202) 555-0127'
    }, {
        imgsrc: '/Content/img/demos/m2.png',
        h3: 'Carl Hambledon',
        p: '(202) 555-0147'
    }, {
        imgsrc: '/Content/img/demos/f2.png',
        h3: 'Arlene Sharman',
        p: '(202) 555-0190'
    }];

    settings: MbscListviewOptions = {
        theme: '',
        lang: '',
        display: '',
        swipe: false,
        sortable: {
            handle: 'right'
        },
        enhance: true
    };

    leftSettings: MbscListviewOptions = {
        theme: '',
        lang: '',
        display: '',
        swipe: false,
        sortable: {
            handle: 'left'
        },
        enhance: true
    };

    noHandleSettings: MbscListviewOptions = {
        theme: '',
        lang: '',
        display: '',
        swipe: false,
        sortable: true,
        enhance: true
    };
}
<mbsc-form>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Handle on the right</div>
        <mbsc-listview [options]="settings" style="display:none">
            <mbsc-listview-item *ngFor="let item of data">
                <img [src]="item.imgsrc" />
                <h3>{{item.h3}}</h3>
                <p>{{item.p}}</p>
            </mbsc-listview-item>
        </mbsc-listview>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Handle on the left</div>
        <mbsc-listview [options]="leftSettings" class="md-left-handle" style="display:none">
            <mbsc-listview-item *ngFor="let item of data">
                <img [src]="item.imgsrc" />
                <h3>{{item.h3}}</h3>
                <p>{{item.p}}</p>
            </mbsc-listview-item>
        </mbsc-listview>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Tap and hold to start reordering</div>
        <mbsc-listview [options]="noHandleSettings" style="display:none">
            <mbsc-listview-item *ngFor="let item of data">
                <img [src]="item.imgsrc" />
                <h3>{{item.h3}}</h3>
                <p>{{item.p}}</p>
            </mbsc-listview-item>
        </mbsc-listview>
    </div>
</mbsc-form>

Listview - Sticky header

Choose demo
import { MbscListviewOptions } from '@mobiscroll/angular';
@Component({

    selector: 'demo-app',
    templateUrl: './app.component.html'
})

export class AppComponent {

    listviewSettings: MbscListviewOptions = {
        theme: '',
        lang: '',
        display: '',
        fixedHeader: true,
        swipe: false
    };

    names = [{
            header: 'A',
            items: [{
                name: 'Audie Pennington'
            }, {
                name: 'Audrea Delaughter'
            }, {
                name: 'Augustine Brink'
            }, {
                name: 'Aurelio Deveau'
            }, {
                name: 'Aurora Marston'
            }]
        }, {
            header: 'B',
            items: [{
                name: 'Bobby Weisman'
            }, {
                name: 'Bobbye Clapp'
            }, {
                name: 'Bobette Boyland'
            }, {
                name: 'Boris Latta'
            }, {
                name: 'Boyce Haller'
            }]
        } // Showing partial data. Download full source.
    ];
}
<mbsc-listview [options]="listviewSettings" style="display:none">
    <ng-container *ngFor="let group of names">
        <mbsc-listview-header>{{group.header}}</mbsc-listview-header>
        <mbsc-listview-item *ngFor="let item of group.items">{{item.name}}</mbsc-listview-item>
    </ng-container>
</mbsc-listview>

Listview - Grouping

Choose demo
import { MbscListviewOptions } from '@mobiscroll/angular';

@Component({
    selector: 'demo-app',
    templateUrl: './app.component.html'
})

export class AppComponent {
    drinks = [{
        header: 'Non Alcoholic Drinks',
        items: [{
                imgsrc: 'dCappuccino.jpg',
                name: 'Cappuccino',
                price: '$3.00'
            }, {
                imgsrc: 'dCoffee.jpg',
                name: 'Coffee',
                price: '$2.60'
            }, {
                imgsrc: 'dCola.jpg',
                name: 'Coca Cola',
                price: '$3.50'
            }, {
                imgsrc: 'dMilk.jpg',
                name: 'Milk',
                price: '$2.50'
            }, {
                imgsrc: 'dPepsi.jpg',
                name: 'Pepsi',
                price: '$3.50'
            }, {
                imgsrc: 'dTea.jpg',
                name: 'Tea',
                price: '$3.00'
            },
            {
                imgsrc: 'dWater.jpg',
                name: 'Water',
                price: '$2.00'
            }
        ]
    }, {
        header: 'Alcoholic Drinks',
        items: [{
            imgsrc: 'dBeer.jpg',
            name: 'Beer',
            price: '$3.00'
        }, {
            imgsrc: 'dGin.jpg',
            name: 'Gin',
            price: '$4.00'
        }, {
            imgsrc: 'dMartini.jpg',
            name: 'Martini',
            price: '$4.50'
        }, {
            imgsrc: 'dRum.jpg',
            name: 'Rum',
            price: '$5.00'
        }, {
            imgsrc: 'dWine.jpg',
            name: 'Wine',
            price: '$4.50'
        }, {
            imgsrc: 'dWhiskey.jpg',
            name: 'Whiskey',
            price: '$6.00'
        }]
    }]


    listviewSettings: MbscListviewOptions = {
        theme: '',
        lang: '',
        display: '',
        swipe: false,
        enhance: true
    };
}
<mbsc-listview [options]="listviewSettings" style="display:none">
    <ng-container *ngFor="let drink of drinks">
        <mbsc-listview-header>{{drink.header}}</mbsc-listview-header>
        <mbsc-listview-item *ngFor="let item of drink.items">
            <img src="/Content/img/demos/{{item.imgsrc}}" class="md-img"> {{item.name}}
            <span class="md-price">{{item.price}}</span>
        </mbsc-listview-item>
    </ng-container>
</mbsc-listview>
.md-groupsort .mbsc-lv .mbsc-lv-item .md-img {
    border-radius: 40px;
}

.md-price {
    float: right;
}

Listview - Create, Read, Update, Delete

Choose demo
import { mobiscroll, MbscListviewOptions } from '@mobiscroll/angular';

let formatDate = mobiscroll.util.datetime.formatDate,
    now = formatDate('DD d hh:ii:ss A', new Date());

@Component({
    selector: 'demo-app',
    templateUrl: './app.component.html'
})
export class AppComponent {
    formSettings = {
        lang: '',
        theme: ''
    };

    todo = [{
            text: 'Check Mobiscroll demos',
            time: now
        },
        {
            text: 'Feed the pets',
            time: now
        },
        {
            text: 'Send an invitation email to Emily',
            time: now
        },
        {
            text: 'Watch the new Arrow episode',
            time: now
        },
        {
            text: 'Wash the dishes',
            time: now
        }
    ];

    listviewSettings: MbscListviewOptions = {
        theme: '',
        lang: '',
        display: '',
        stages: [{
            percent: -25,
            color: 'red',
            text: 'Delete',
            confirm: true,
            action: (event, inst) => {
                this.todo.splice(event.index, 1);
            }
        }, {
            percent: 25,
            color: 'green',
            text: 'Update',
            action: (event, inst) => {
                this.todo[event.index].time = formatDate('DD d hh:ii:ss A', new Date());
            }
        }]
    };

    add() {
        mobiscroll.prompt({
            title: 'New item',
            message: 'Enter a description and add it to the list of existing tasks.',
            placeholder: 'What to do next...',
            callback: (value) => {
                if (value !== null) {
                    this.todo.push({ text: value ? value : 'New item', time: formatDate('DD d hh:ii:ss A', new Date()) });
                    mobiscroll.toast({
                        message: 'New item added'
                    });
                }
            }
        });
    }
}
<mbsc-form [options]="formSettings">
    <mbsc-listview [options]="listviewSettings" style="display:none">
        <mbsc-listview-item *ngFor="let item of todo">{{ item.text }}
            <div class="md-timestamp mbsc-italic">{{ item.time }}</div>
        </mbsc-listview-item>
    </mbsc-listview>
    <div class="mbsc-btn-group-block">
        <mbsc-button (click)="add()">Add new item</mbsc-button>
    </div>
</mbsc-form>

Listview - Remove/Undo

Choose demo
@Component({
    selector: 'demo-app',
    templateUrl: './app.component.html'
})

export class AppComponent {

    data = [{
        color: '4c66a4',
        mono: 'F',
        date: 'Nov 4',
        name: 'Facebook',
        subj: 'Your weekly page update'
    }, {
        color: '287BBC',
        mono: 'L',
        date: 'Nov 1',
        name: 'LinkedIn',
        subj: 'Michael has endorsed you!'
    }, {
        color: '5185a8',
        mono: 'M',
        date: 'Oct 31',
        name: 'Mobiscroll',
        subj: 'October update'
    }, {
        color: '1a3665',
        mono: 'P',
        date: 'Oct 31',
        name: 'PayPal',
        subj: 'Stay fashionable in the cold with PayPal'
    }, {
        color: 'dd4b39',
        mono: 'G',
        date: 'Oct 28',
        name: 'Google+',
        subj: 'John Doe added you back on Google+'
    }, {
        color: '5185a8',
        mono: 'M',
        date: 'Oct 27',
        name: 'Mobiscroll',
        subj: 'Password reset information'
    }];

    listviewSettings: any = {
        theme: '',
        lang: '',
        display: '',
        stages: [{
            percent: -30,
            action: (event, inst) => {
                this.remove(event.index);
                return false;
            },
            undo: true
        }, {
            percent: 30,
            action: (event, inst) => {
                this.remove(event.index);
                return false;
            },
            undo: true
        }]
    };


    remove(index) {
        this.data.splice(index, 1);
    }
}
<mbsc-listview [options]="listviewSettings" class="md-mailbox" style="display:none">
    <mbsc-listview-item *ngFor="let item of data">
        <div class="md-mail-icon" [style.background]="'#' + item.color">{{item.mono}}</div>
        <div class="md-mail-date">{{item.date}}</div>
        <div class="md-mail-from">{{item.name}}</div>
        <div class="md-mail-subject">{{item.subj}}</div>
    </mbsc-listview-item>
</mbsc-listview>
.md-mailbox .mbsc-lv-item {
    line-height: 20px;
    padding: 10px 10px 10px 60px;
}

.md-mail-icon {
    width: 40px;
    line-height: 40px;
    position: absolute;
    top: 10px;
    left: 10px;
    color: #fff;
    text-align: center;
    text-shadow: none;
}

.md-mail-date {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 12px;
}

.md-mail-from {
    font-size: 14px;
}

.md-mail-subject {
    font-size: 12px;
}

.md-mail-empty {
    padding: 10px;
}

Listview - Swipe actions

Choose demo
import { mobiscroll, MbscListviewOptions } from '@mobiscroll/angular';

@Component({
    selector: 'demo-app',
    templateUrl: './app.component.html'
})
export class AppComponent {
    listImages = [
        { name: 'Image 1' },
        { name: 'Image 2' },
        { name: 'Image 3' },
        { name: 'Image 4' },
        { name: 'Image 5' }
    ];

    menuImages = [
        { name: 'My Image 1' },
        { name: 'My Image 2' },
        { name: 'My Image 3' },
        { name: 'My Image 4' },
        { name: 'My Image 5' }
    ];

    listSettings: MbscListviewOptions = {
        theme: '',
        lang: '',
        display: '',
        enhance: true,
        stages: [{
                percent: 25,
                icon: 'link',
                text: 'Get link',
                action: (event, inst) => {
                    mobiscroll.toast({
                        message: 'Link copied'
                    });
                }
            }, {
                percent: 50,
                icon: 'download',
                text: 'Download',
                action: (event, inst) => {
                    mobiscroll.toast({
                        message: 'Downloaded'
                    });
                }
            }, {
                percent: -25,
                icon: 'print',
                text: 'Print',
                action: (event, inst) => {
                    mobiscroll.toast({
                        message: 'Printing...'
                    });
                }
            },
            {
                percent: -50,
                icon: 'remove',
                text: 'Delete',
                confirm: true,
                action: (event, inst) => {
                    this.listImages.splice(event.index, 1);
                }
            }
        ]
    };

    menuSettings: MbscListviewOptions = {
        theme: '',
        lang: '',
        display: '',
        enhance: true,
        actions: [{
            icon: 'link',
            action: (event, inst) => {
                mobiscroll.toast({
                    message: 'Linked'
                });
            }
        }, {
            icon: 'star3',
            action: (event, inst) => {
                mobiscroll.toast({
                    message: 'Starred'
                });
            }
        }, {
            icon: 'download',
            action: (event, inst) => {
                mobiscroll.toast({
                    message: 'Downloaded'
                });
            }
        }, {
            icon: 'print',
            action: (event, inst) => {
                mobiscroll.toast({
                    message: 'Printing...'
                });
            }
        }, {
            icon: 'remove',
            undo: true,
            action: (event, inst) => {
                this.menuImages.splice(event.index, 1);
            }
        }]
    };

    formSettings = {
        lang: '',
        theme: ''
    };
}
<mbsc-form [options]="formSettings">
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Action list</div>
        <mbsc-listview [options]="listSettings" style="display:none">
            <mbsc-listview-item icon="image2" *ngFor="let item of listImages">{{ item.name }}</mbsc-listview-item>
        </mbsc-listview>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Action menu</div>
        <mbsc-listview [options]="menuSettings" style="display:none">
            <mbsc-listview-item icon="image2" *ngFor="let item of menuImages">{{ item.name }}</mbsc-listview-item>
        </mbsc-listview>
    </div>
</mbsc-form>

Listview - Hierarchy

Choose demo
import { MbscListviewOptions, MbscCardOptions } from '@mobiscroll/angular';

@Component({
    selector: 'demo-app',
    templateUrl: './app.component.html'
})

export class AppComponent {
    listviewSettings: MbscListviewOptions = {
        theme: '',
        lang: '',
        display: '',
        swipe: false,
        enhance: true
    };

    insideCardSettings: MbscListviewOptions = {
        theme: '',
        lang: '',
        display: '',
        swipe: false,
        enhance: true
    };

    formSettings = {
        lang: '',
        theme: ''
    };

    cardSettings: MbscCardOptions = {
        lang: '',
        theme: ''
    }

    data = [{
            cl: 'md-continent micons icon-north-america',
            name: 'North America',
            children: [{
                imgsrc: '/Content/img/flags/US.png',
                name: 'USA',
                children: [{
                    name: 'Washington'
                }, {
                    name: 'Florida'
                }, {
                    name: 'Los Angeles'
                }, {
                    name: 'New York'
                }, {
                    name: 'Detroit'
                }, {
                    name: 'Chicago'
                }]
            }, {
                imgsrc: '/Content/img/flags/CA.png',
                name: 'Canada',
                children: [{
                    name: 'Vancouver'
                }, {
                    name: 'Winnipeg'
                }, {
                    name: 'Calgary'
                }, {
                    name: 'Montreal'
                }, {
                    name: 'Quebec'
                }]
            }]
        }, {
            cl: 'md-continent micons icon-south-america',
            name: 'South America',
            children: [{
                imgsrc: '/Content/img/flags/ar.png',
                name: 'Argentina',
                children: [{
                    name: 'Buenos Aire'
                }, {
                    name: 'Córdoba'
                }, {
                    name: 'Rosario'
                }, {
                    name: 'Mendoza'
                }]
            }, {
                imgsrc: '/Content/img/flags/br.png',
                name: 'Brazil',
                children: [{
                    name: 'Rio de Janeiro'
                }, {
                    name: 'Sao Paolo'
                }, {
                    name: 'Brasília'
                }, {
                    name: 'Salvador'
                }, {
                    name: 'Fortaleza'
                }]
            }, {
                imgsrc: '/Content/img/flags/cl.png',
                name: 'Chile',
                children: [{
                    name: 'Santiago'
                }, {
                    name: 'Concepción'
                }, {
                    name: 'Valparaíso'
                }]
            }]
        } // Showing partial data. Download full source.
];

}
<mbsc-form [options]="formSettings">
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Hierarchical listview</div>
        <mbsc-listview [options]="listviewSettings" style="display:none">
            <mbsc-listview-item *ngFor="let conti of data">
                <span class="{{conti.cl}}"> </span> {{conti.name}}
                <mbsc-listview-sublist>
                    <mbsc-listview-item *ngFor="let country of conti.children">
                        <img [src]="country.imgsrc" /> {{country.name}}
                        <mbsc-listview-sublist>
                            <mbsc-listview-item *ngFor="let city of country.children">
                                {{city.name}}
                            </mbsc-listview-item>
                        </mbsc-listview-sublist>
                    </mbsc-listview-item>
                </mbsc-listview-sublist>
            </mbsc-listview-item>
        </mbsc-listview>
    </div>
    <div class="mbsc-padding">The listview can also be rendered inside a card</div>
    <mbsc-card [options]="cardSettings">
        <mbsc-listview [options]="insideCardSettings" style="display:none">
            <mbsc-listview-item *ngFor="let conti of data">
                <span class="{{conti.cl}}"> </span> {{conti.name}}
                <mbsc-listview-sublist>
                    <mbsc-listview-item *ngFor="let country of conti.children">
                        <img [src]="country.imgsrc" /> {{country.name}}
                        <mbsc-listview-sublist>
                            <mbsc-listview-item *ngFor="let city of country.children">
                                {{city.name}}
                            </mbsc-listview-item>
                        </mbsc-listview-sublist>
                    </mbsc-listview-item>
                </mbsc-listview-sublist>
            </mbsc-listview-item>
        </mbsc-listview>
    </mbsc-card>
</mbsc-form>
.md-country .mbsc-lv-img {
    margin-top: -.6em;
    width: 2em;
}

.md-continent {
    font-size: 36px;
    position: absolute;
    height: 1em;
    width: 1em;
    top: 50%;
    margin-top: -.5em;
    left: .42em;
    text-align: center;
}

Listview - Checklist

Choose demo
import { mobiscroll } from '@mobiscroll/angular';

mobiscroll.settings = {
    theme: ''
};

@Component({
    selector: 'demo-app',
    templateUrl: './app.component.html'
})

export class AppComponent {

    data = [{
        check: true,
        todo: 'Do the laundry'
    }, {
        todo: 'Check out new Mobiscroll features'
    }, {
        check: true,
        todo: "Don't forget mom's birthday!"
    }, {
        todo: 'Update my app with the latest Mobiscroll'
    }, {
        todo: 'Buy new shoes'
    }, {
        todo: 'Need ketchup for pizza'
    }];

    listviewSettings: any = {
        theme: '',
        lang: '',
        display: '',
        sortable: {
            handle: 'left'
        },
        enhance: true,
        stages: {
            left: [{
                key: 'stage1',
                icon: 'plus',
                color: '#31c6e7',
                text: 'Add',
                action: (event, inst) => {
                    this.data.splice(event.index + 1, 0, {
                        todo: 'New Todo'
                    });
                }
            }],
            right: [{
                key: 'stage2',
                color: '#009688',
                text: 'Remove',
                icon: 'remove',
                action: (event, inst) => {
                    this.data.splice(event.index, 1);
                    return false;
                }
            }]
        }
    };
}
<mbsc-listview [options]="listviewSettings" mbsc-enhance style="display:none">
    <mbsc-listview-item *ngFor="let item of data">
        <input type="checkbox" data-role="none" [(checked)]="item.check">{{item.todo}}
    </mbsc-listview-item>
</mbsc-listview>

Listview - Filtering

Choose demo
import { mobiscroll, MbscRangeOptions, MbscListviewOptions } from '@mobiscroll/angular';

mobiscroll.settings = {
    lang: '',
    theme: ''
};

let now = new Date();

@Component({
    selector: 'demo-app',
    templateUrl: './app.component.html'
})
export class AppComponent {
    constructor() {
        let i,
            item,
            tempTime;

        // Genarate random dates
        for (i = 0; i < this.data.length; i++) {
            item = this.data[i];
            tempTime = new Date(
                now.getFullYear(),
                now.getMonth(),
                now.getDate() + (i > 5 ? (i - 5) : 0),
                now.getHours() + i * 2,
                Math.round((now.getMinutes() + i * 5) / 5) * 5);
            item.date = tempTime;
            item.formatedTime = mobiscroll.util.datetime.formatDate('D d hh:ii', tempTime);
        }

        this.filter();
    }

    filters: any = {
        range: 'today',
        calls: true,
        meetings: true,
        customRange: [
            new Date(now.getFullYear(), now.getMonth(), now.getDate()),
            new Date(now.getFullYear(), now.getMonth(), now.getDate() + 6)
        ]
    }

    data = [{
        id: 1,
        name: "Owen Adams",
        company: "Sunholdings Corp.",
        icon: "phone",
        type: "call"
    }, {
        id: 2,
        name: "Kian Phillips",
        company: "sol-flex Corp.",
        icon: "location",
        type: "meeting"
    }, {
        id: 3,
        name: "Robert Bradley",
        company: "Silvermedia",
        icon: "location",
        type: "meeting"
    }, {
        id: 4,
        name: "Lydia Young",
        company: "Zimplex",
        icon: "phone",
        type: "call"
    }, {
        id: 5,
        name: "Hollie Hudson",
        company: "Stanelectrics",
        icon: "location",
        type: "meeting"
    }, {
        id: 6,
        name: "Lynn Elliott",
        company: "Techhex",
        icon: "location",
        type: "meeting"
    }, {
        id: 7,
        name: "Konner Murray",
        company: "HACME Corp.",
        icon: "phone",
        type: "call"
    }, {
        id: 8,
        name: "Morgan Downs",
        company: "Itex Corp.",
        icon: "location",
        type: "meeting"
    }, {
        id: 9,
        name: "Warren Boone",
        company: "Sumline",
        icon: "location",
        type: "meeting"
    }, {
        id: 10,
        name: "Charlie Jenkins",
        company: "Quaddoex",
        icon: "phone",
        type: "call"
    }, {
        id: 11,
        name: "Jillian Hobbs",
        company: "Indizap",
        icon: "location",
        type: "meeting",
        formatedTime: ''
    }, {
        id: 12,
        name: "Donald Mccormick",
        company: "Zootrax",
        icon: "phone",
        type: "call"
    }, {
        id: 13,
        name: "Luke Harper",
        company: "Unihouse",
        icon: "phone",
        type: "call"
    }, {
        id: 14,
        name: "Leah West",
        company: "Ap-care",
        icon: "phone",
        type: "call"
    }, {
        id: 15,
        name: "Billie Rivas",
        company: "Technoit Corp.",
        icon: "location",
        type: "meeting"
    }, {
        id: 16,
        name: "Janae Diaz",
        company: "Plex-ron Corp.",
        icon: "location",
        type: "meeting"
    }, {
        id: 17,
        name: "Raquel Bentley",
        company: "Silicon-lax",
        icon: "phone",
        type: "call"
    }, {
        id: 18,
        name: "Harley Burke",
        company: "Lamzone",
        icon: "location",
        type: "meeting"
    }];

    listviewSettings: MbscListviewOptions = {
        enhance: true,
        swipe: false,
        striped: true
    };

    filter() {
        var i,
            item,
            start,
            end,
            range,
            filteredData = [];

        switch (this.filters.range) {
            case 'today':
                start = new Date(now.setHours(0, 0, 0, 0));
                end = new Date(now.setHours(23, 59, 59, 999));
                break;
            case 'week':
                start = new Date(now.setHours(0, 0, 0, 0));
                end = new Date(
                    now.getFullYear(),
                    now.getMonth(),
                    now.getDate() + (7 - now.getDay()), 23, 59, 59, 999
                );
                break;
            default:
                range = this.filters.customRange;
                start = range[0];
                end = range[1];
        }

        for (i = 0; i < this.data.length; i++) {
            item = this.data[i];
            if ((
                    (item.type == 'call' && this.filters.calls) ||
                    (item.type == 'meeting' && this.filters.meetings)
                ) && (item.date >= start) && (item.date <= end)) {
                filteredData.push(item);
            }
        }

        this.filteredData = filteredData;
    }

    onChange() {
        setTimeout(() => {
            this.filter();
        });
    }
}
<mbsc-form class="md-schedule">
    <div>
        <mbsc-segmented-group [(ngModel)]="filters.range" (change)="onChange()">
            <mbsc-segmented value="today">Today</mbsc-segmented>
            <mbsc-segmented value="week">This Week</mbsc-segmented>
            <mbsc-segmented value="custom" (click)="mbscRange.instance.show()">Custom</mbsc-segmented>
        </mbsc-segmented-group>

        <div mbsc-range [(ngModel)]="filters.customRange" [mbsc-options]="rangeSettings" #mbscRange="mobiscroll" (onSet)="onChange()"></div>

        <mbsc-switch [(ngModel)]="filters.calls" (change)="onChange()">Show calls</mbsc-switch>
        <mbsc-switch [(ngModel)]="filters.meetings" (change)="onChange()">Show meetings</mbsc-switch>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">My Schedule</div>
        <div class="mbsc-empty" *ngIf="filteredData.length == 0">
            <h3>Nothing scheduled</h3>
        </div>
        <mbsc-listview [options]="listviewSettings">
            <mbsc-listview-item *ngFor="let item of filteredData" icon="{{ item.icon }}">
                <h4>{{ item.name }}</h4>
                <h4>{{ item.company }}</h4>
                <span class="md-time" style="position:absolute;right:1.25em;top:50%;margin-top:-9px;">{{ item.formatedTime }}</span>
            </mbsc-listview-item>
        </mbsc-listview>
    </div>
</mbsc-form>

Listview - Data sources

Choose demo
import { mobiscroll, MbscListviewOptions } from '@mobiscroll/angular';

@Component({
    selector: 'demo-app',
    templateUrl: './app.component.html'
})
export class AppComponent {
    remoteData: any = [];
    data: any = [
        { title: 'Django Unchained (2012)' },
        { title: 'WALL·E (2008)' },
        { title: 'Princess Mononoke (1997)' },
        { title: 'American Beauty (1999)' },
        { title: 'The Dark Knight Rises (2012)' }
    ];

    constructor() {
        this.getMovies();
    }

    getMovies() {
        mobiscroll.util.getJson('https://trialdev.mobiscroll.com/getmovies/?nr=5', (data) => {
            var i, item;
            for (i = 0; i < data.length; ++i) {
                item = data[i];
                this.remoteData.push({
                    id: item.id,
                    title: item.title
                })
            }
        }, 'jsonp');
    }

    listviewSettings: MbscListviewOptions = {
        theme: '',
        lang: '',
        display: ''
    };

    remoteSettings: MbscListviewOptions = {
        theme: '',
        lang: '',
        display: ''
    };

    formSettings = {
        theme: ''
    };

}
<mbsc-form [options]="formSettings">
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Data array</div>
        <mbsc-listview [options]="listviewSettings" style="display:none">
            <mbsc-listview-item *ngFor="let item of data">{{ item.title }}</mbsc-listview-item>
        </mbsc-listview>
    </div>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Remote data</div>
        <mbsc-listview [options]="remoteSettings" style="display:none">
            <mbsc-listview-item *ngFor="let item of remoteData">{{ item.title }}</mbsc-listview-item>
        </mbsc-listview>
    </div>
</mbsc-form>

Listview - Load on demand

Choose demo
import { MbscListviewOptions } from '@mobiscroll/angular';
import { Jsonp } from '@angular/http';
import { ViewChild, ElementRef } from '@angular/core';

@Component({
    selector: 'demo-app',
    templateUrl: './app.component.html'
})

export class AppComponent {
    @ViewChild('demoLoading') demoLoading: ElementRef;
    showIcon: boolean;
    feedNum: number = 5;
    data: any = [];
    isLoading: boolean = false;
    windowHeight: number;

    constructor(private jsonp: Jsonp) {
        this.showIcon = true;
        this.getFeed();
        window.addEventListener('scroll', this.checkLoad.bind(this));
    }

    getFeed() {
        let i, result, entry, img, content, text, li;
        this.showIcon = true;

        this.jsonp.request("https://api.rss2json.com/v1/api.json?rss_url=http%3A%2F%2Ffeeds.arstechnica.com%2Farstechnica%2Ftechnology-lab%2F&api_key=ytdlqir4cx7dpdb9asyawz4lteioxq5uwl5ctd9n&count=" + this.feedNum + "&callback=JSONP_CALLBACK").subscribe(res => {
            result = res._body;
            if (result.status == "ok") {
                for (i = this.feedNum - 5; i < result.items.length; i++) {
                    entry = result.items[i];
                    img = entry.thumbnail ? entry.content.match(/src="[^\"]*/)[0].replace('src="', '') : '';
                    content = /\<p\>(.*)(\.\s)/.exec(entry.content);
                    text = content ? content[1] : '';
                    this.data.push({
                        title: entry.title,
                        link: entry.link,
                        image: img,
                        text: text + '...',
                        author: entry.author
                    });

                }
                this.isLoading = false;
                this.showIcon = false;
            }
        });
    }

    shouldLoad() {
        var el = this.demoLoading.element;
        return el.getBoundingClientRect().top + el.clientTop + el.offsetHeight - 1 < window.innerHeight;
    }

    checkLoad() {
        var timer;
        clearTimeout(timer);
        timer = setTimeout(() => {
            if (!this.isLoading && this.shouldLoad()) {
                this.isLoading = true;
                this.feedNum += 5;
                this.getFeed();
            }
        }, 250);
    }

    listviewSettings: MbscListviewOptions = {
        striped: true,
        animation: false,
        swipe: false,
        theme: '',
        lang: '',
        display: ''
    };

    formSettings = {
        theme: ''
    };
}
<mbsc-listview [options]="listviewSettings" class="md-news" (touchmove)="checkLoad()">
    <mbsc-listview-header>Arstechnica News</mbsc-listview-header>
    <mbsc-listview-item *ngFor="let item of data">
        <h4>{{item.title}}</h4>
        <a href="{{item.link}}" target="_blank"><img src="{{item.image}}"></a>
        <p class="md-text"><span [innerHTML]="item.text"></span><a href="{{item.link}}" target="_blank"> Read more →</a></p>
        <div class="md-text md-author"> by <a href="">{{item.author}}</a></div>
    </mbsc-listview-item>
</mbsc-listview>
<mbsc-form #demoLoading [options]="formSettings" class="mbsc-padding md-load-btn md-btn-loading">
    <mbsc-button flat block icon="loop2" [hidden]="!showIcon"></mbsc-button>
</mbsc-form>
@keyframes md-rotating {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes md-rotating {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
    }
}

.md-news .mbsc-lv-item img {
    width: 100%;
}

.md-news .mbsc-lv-item h4 {
    margin-top: 0;
    font-weight: 100;
}

.md-news .mbsc-lv-item .md-author {
    margin-top: 0;
    text-align: right;
    font-size: 14px;
    font-style: italic;
}

.md-load-btn {
    display: none;
    min-height: 0!important;
}

.md-load-btn .mbsc-ic-loop2 {
    font-size: 22px;
    display: none;
}

.md-load-btn .mbsc-ic-loop2:before {
    display: inline-block;
    -webkit-animation: md-rotating .6s linear infinite;
    animation: md-rotating .6s linear infinite;
}

.md-btn-loading {
    display: block;
}

.md-load-btn.md-btn-loading .mbsc-ic-loop2 {
    display: inline-block;
}

Listview - Load more

Choose demo
import { mobiscroll, MbscListviewOptions } from '@mobiscroll/angular';

@Component({
    selector: 'demo-app',
    templateUrl: './app.component.html'
})
export class AppComponent {
    data: any = [];
    loading: boolean = false;
    showMore: boolean = true;

    constructor() {
        this.getMovies();
    }

    getMovies() {
        var that = this,
            movies = that.data;

        this.loading = true;

        mobiscroll.util.getJson('https://trial.mobiscroll.com/loadmore/?length=' + (movies.length + 10), function (data) {
            var i, item;
            for (i = 0; i < data.length; ++i) {
                item = data[i];
                movies.push({
                    id: item.id,
                    title: item.title
                })
            }

            that.loading = false;

            if (movies.length >= 100) {
                that.showMore = false;
            }

        }, 'jsonp');
    }

    listviewSettings: MbscListviewOptions = {
        theme: '',
        lang: '',
        display: '',
        enhance: true,
        swipe: false,
        striped: true
    };

    formSettings = {
        theme: ''
    };

}
<mbsc-listview [options]="listviewSettings">
    <mbsc-listview-header>Top Rated Movies</mbsc-listview-header>
    <mbsc-listview-item *ngFor="let item of data">{{item.title}}</mbsc-listview-item>
</mbsc-listview>
<mbsc-form [options]="formSettings" class="mbsc-padding" [hidden]="!showMore" style="display:block;">
    <div class="mbsc-btn-group-block">
        <mbsc-button (click)="getMovies()">
            <span class="md-btn-icon mbsc-ic mbsc-ic-loop2" [hidden]="!loading"></span>
            <span class="md-btn-text" [hidden]="loading">Load more</span>
        </mbsc-button>
    </div>
</mbsc-form>

Listview - Event handlers

Choose demo
@Component({
    selector: 'demo-app',
    templateUrl: './app.component.html'
})

export class AppComponent {
    ids = 6;
    data = [{
        id: 1,
        title: 'Work order #0001',
        status: 'Assigned'
    }, {
        id: 2,
        title: 'Work order #0002',
        status: 'Assigned'
    }, {
        id: 3,
        title: 'Work order #0003',
        status: 'Assigned'
    }, {
        id: 4,
        title: 'Work order #0004',
        status: 'Assigned'
    }, {
        id: 5,
        title: 'Work order #0005',
        status: 'Assigned'
    }, {
        id: 6,
        title: 'Work order #0006',
        status: 'Assigned'
    }];

    listviewSettings: any = {
        theme: '',
        lang: '',
        display: '',
        sortable: { handle: 'left' },
        iconSlide: true,
        striped: true,
        stages: [{
            percent: 25,
            color: 'crimson',
            icon: 'checkmark',
            text: 'Complete',
            action: (event, inst) => {
                this.data[event.index].status = 'Completed';
            }
        }, {
            percent: -50,
            color: 'red',
            icon: 'remove',
            text: 'Delete',
            confirm: true,
            action: (event, inst) => {
                this.data.splice(event.index, 1);
                return false;
            }
        }, {
            percent: 50,
            color: 'green',
            icon: 'plus',
            text: 'Spawn',
            undo: true,
            action: (event, inst) => {
                this.data.push({
                    id: ++this.ids,
                    title: 'Work order #000' + this.ids + ' created from WO #000',
                    status: 'Assigned'
                });
            }
        }, {
            percent: -25,
            color: 'olive',
            icon: 'clock',
            text: 'Pending',
            action: (event, inst) => {
                this.data[event.index].status = 'Pending';
            }
        }],
        onItemAdd: function () {
            // Your custom event handler goes here
        },
        onItemRemove: function () {
            // Your custom event handler goes here
        },
        onInit: function (event, inst) {
            // Your custom event handler goes here
        },
        onItemTap: function (event, inst) {
            // Your custom event handler goes here
        },
        onNavEnd: function (event, inst) {
            // Your custom event handler goes here
        },
        onNavStart: function (event, inst) {
            // Your custom event handler goes here
        },
        onSlideEnd: function (event, inst) {
            // Your custom event handler goes here
        },
        onSlideStart: function (event, inst) {
            // Your custom event handler goes here
        },
        onSort: function (event, inst) {
            // Your custom event handler goes here
        },
        onSortChange: function (event, inst) {
            // Your custom event handler goes here
        },
        onSortEnd: function (event, inst) {
            // Your custom event handler goes here
        },
        onSortStart: function (event, inst) {
            // Your custom event handler goes here
        },
        onSortUpdate: function (event, inst) {
            // Your custom event handler goes here
        },
        onStageChange: function (event, inst) {
            // Your custom event handler goes here
        }
    };
}
<mbsc-listview [options]="listviewSettings">
    <mbsc-listview-item *ngFor="let item of data">
        {{item.title}}
        <div>{{item.status}}</div>
    </mbsc-listview-item>
</mbsc-listview>
Clear event log
EVENTS FIRED: 

Listview - Quick Navigation

Choose demo
// Code not available for Angular
<!-- Code not available for Angular -->
/* Code not available for Angular */
light
dark
light
dark

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 35 components, including with the Framework license.



Mobiscroll for Angular & Ionic $395


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 or Ionic 2/3. Use it when you are building your app or website with React.


Buy framework license
See other licensing options

Framework license


Get all 35 components, including with the Framework license.



Mobiscroll for Angular $395


  • 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 and Ionic 2/3
  • 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 35 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 and Ionic 2/3
  • 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 or Ionic 2/3.

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
Please sign in or start a free trial to download

What framework are you using?

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

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

What framework are you using?

Javascript
jQuery
AngularJS
Angular
Ionic
React
Other
Select a framework
Install demo in your app
Follow steps to install mobiscroll and use example
Close window

Step 1.

Install the Mobiscroll CLI from npm (skip this step if it's already installed).

Copy command
$ npm install -g @mobiscroll/cli

Step 2.

Run the config command in the root folder of the Ionic project.
You will be prompted to log in with your mobiscroll account (set password here).
If you don't have an app, create a starter with the Ionic CLI $ ionic start myStarterApp tabs

Copy command
$ mobiscroll config ionic
$ mobiscroll config ionic --lite
If your app is using lazy loading, add --lite --lazy and for Ionic Pro run mobiscroll config ionic-pro instead.

Step 3.

Copy the code into your app.
The HTML goes into the markup, the Typescript into the TS file and the CSS into the page stylesheet (scss file).

Copy TS
Copy HTML
Copy CSS

Run ionic serve in the root folder of your app.

Copy command
$ ionic serve

Looking for an already configured app? Download kitchen sink for Ionic

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 Please avoid dangerous characters like '<' or '&'
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.

Please extract the zip file and simply open the demos in your favorite browser. For instructions on how to install Mobiscroll in your project follow this guide.


Let us know if we can help and enjoy!

Thanks for downloading
Customize demos locally

The demos are using an in-browser TypeScript transpiler app as base. Please extract the zip file and open the index.html on your local development server.

Alternatively you can 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. Please extract the zip file and open the demos in your browser.


Let us know if we can help and enjoy!

Demos
Controls
Calendar 19
Cards 10
Color 8
Date & Time 13
Event Calendar 15
Forms 21
Image 5
Listview 17
Measurement 9
Navigation 7
Number 6
Numpad 12
Option List 4
Range 16
Scroller 5
Scrollview 4
Select 11
Styling 4
Timer 4
Timespan 5
Treelist 5
Widget 9
Theme Select
Mobiscroll
Mobiscroll Dark
Material
Material Dark
iOS
iOS Dark
Windows
Windows Dark
Display Mode
Language Locale
See other demos and change options
Theme
Display
Locale
See other demos