Widget - Accounts

Choose demo
$(function () {

    $('#demo').mobiscroll().widget({
        theme: '',
        lang: '',
        display: '',
        anchor: $('#show'),
        buttons: [],
        onMarkupReady: function (event, inst) {
            $('.md-email', event.target).click(function () {
                inst.hide();
            });
        }
    });

    $('#show').click(function () {
        $('#demo').mobiscroll('show');
        return false;
    });

});
<div id="demo" style="display: none;">
    <div class="md-accounts" mbsc-form>
        <h4>Set backup account</h4>
        <button class="mbsc-btn mbsc-btn-flat mbsc-btn-block md-email dwb-e">
            <span class="md-icon mbsc-ic mbsc-ic-user4"></span> name1@gmail.com 
        </button>
        <button class="mbsc-btn mbsc-btn-flat mbsc-btn-block md-email dwb-e">
            <span class="md-icon mbsc-ic mbsc-ic-user4"></span> name2@gmail.com 
        </button>
        <button class="mbsc-btn mbsc-btn-flat mbsc-btn-block md-email dwb-e">
            <span class="md-icon mbsc-ic mbsc-ic-plus md-plus-icon"></span> add account 
        </button>
    </div>
</div>
.md-accounts .md-icon {
    position: absolute;
    top: 50%;
    left: 10px;
    display: block;
    width: 38px;
    height: 38px;
    overflow: hidden;
    margin-top: -19px;
    background: #bddbfd;
    border-radius: 38px;
    text-align: center;
    line-height: 48px;
    font-size: 32px;
    color: #3498f9;
}

.md-accounts .md-plus-icon {
    background: #bdbdbd;
    color: #fff;
    line-height: 38px;
    font-size: 14px;
}

.md-accounts .md-email.mbsc-btn {
    position: relative;
    line-height: 38px;
    padding: 10px 10px 10px 58px;
    margin: 0;
    text-align: left;
}

.md-email {
    background: transparent;
    color: inherit;
}

Widget - Sign In

Choose demo
// Use the settings object to change the theme
mobiscroll.settings = {
    theme: ''
};

$(function () {

    $('#demo').mobiscroll().widget({
        theme: '',
        lang: '',
        display: '',
        anchor: $('#show'),
        buttons: [{
            text: 'Sign In',
            handler: 'set'
        }, {
            text: 'Cancel',
            handler: 'cancel'
        }],
        cssClass: 'md-signin-demo',
        onBeforeShow: function (event, inst) {
            var s = inst.settings;

            if (s.theme == 'wp' || s.baseTheme == 'wp') {
                s.buttons[0].icon = 'checkmark';
                s.buttons[1].icon = 'close';
            }
        }
    });

    $('.md-passw-toggle').change(function (ev) {
        $('.md-passw-field').attr('type', this.checked ? 'password' : 'text');
    });

    $('#show').click(function () {
        $('#demo').mobiscroll('show');
        return false;
    });

});
<div class="md-signin-cont">
    <div class="md-signin" mbsc-form>
        <div id="demo" style="display: none;">
            <div class="md-logo micons icon-mbsc-logo"></div>
            <form class="md-form" mbsc-form>
                <div class="mbsc-form-group-inset">
                    <div class="mbsc-input">
                        <input id="email" type="text" name="Email" placeholder="Email" />
                    </div>
                    <div class="mbsc-input">
                        <input name="Password" type="text" class="md-passw-field" placeholder="Password" />
                    </div>
                    <div>
                        Hide password
                        <input type="checkbox" class="md-passw-toggle" data-role="toggle" />
                    </div>
                </div>
            </form>
        </div>


        <div class="md-header">
            <div class="mbsc-header-txt">Food & Baking</div>
            <button id="show" class="mbsc-btn-flat">Sign In</button>
        </div>

        <img class="md-pic" src="/content/img/demos/frozen.png" />
        <div class="mbsc-padding">
            <h4>Frozen Mango Cakes</h4>
            <h6 class="mbsc-desc">This frozen mango deliciousness is one of our all time favorite summer desserts. It’s quite refreshing on those hot days when you just need a nice, cold treat. I especially like the crunchy macadamia nut crust with the creamy, cool texture of the mango.</h6>
            <a href="">Continue Reading...</a>
        </div>
        <img class="md-pic" src="/content/img/demos/Blueberry.png" />
        <div class="mbsc-padding">
            <h4>Blueberry Bagel French Toast</h4>
            <h6 class="mbsc-desc">You guys won't even believe this, but I really didn't mean for this to be Fourth of July themed. It sort of turned out to be red white and blue though, so in case the cream cheese glaze and buttery bagel goodness didn't already convince you, now you really have no excuse not to make this tomorrow.</h6>
            <a href="">Continue Reading...</a>
        </div>

    </div>
</div>
.md-logo {
    font-size: 80px;
    text-align: center;
    height: 46px;
    margin: 30px auto;
    color: #1c75bc;
}


/* content css */

.demo-signin {
    padding: 0!important;
}

.md-signin .md-header {
    position: relative;
    background: #4ECCC4;
    padding: 1em;
}

.mbsc-material.md-signin .md-header {
    background: #009688;
}

.mbsc-android-holo.md-signin .md-header {
    background: #31c6e7;
}

.mbsc-ios-classic.md-signin .md-header,
.mbsc-ios.md-signin .md-header {
    background: #1272dc;
}

.mbsc-wp.md-signin .md-header {
    background: #1a9fe0;
}

.md-signin .md-header .mbsc-header-txt {
    display: inline-block;
    color: #fff;
}

.md-signin .md-pic {
    width: 100%;
}

.md-signin .md-header .mbsc-btn-flat {
    position: absolute;
    right: .75em;
    margin: 0;
    padding: 0 .5em 0 .5em;
    top: 50%;
    margin-top: -15px;
    height: 30px;
    color: #fff;
    text-transform: capitalize;
}

.md-signin .md-header .mbsc-btn-flat.mbsc-active {
    background: rgba(255, 255, 255, 0.2);
}

Widget - Checklist

Choose demo
// Use the settings object to change the theme
mobiscroll.settings = {
    theme: ''
};

$(function () {

    // widget init
    $('#demo').mobiscroll().widget({
        theme: '',
        lang: '',
        display: '',
        anchor: '#show',
        cssClass: 'md-check-wdg',
        buttons: [{
                text: 'Ok',
                handler: function (event, inst) {
                    filterElements();

                    inst.hide();
                }
            },

            'cancel'
        ]
    });

    // widget listview init
    $('#democheck').mobiscroll().listview({
        theme: '',
        enhance: true,
        swipe: false
    });

    // content listview init
    $('#email-list').mobiscroll().listview({
        theme: '',
        lang: '',
        display: '',
        swipe: false
    });

    function filterElements() {
        $('.md-email-item').hide();

        $('#democheck input:checked').each(function (i, v) {
            $('.md-email-item.md-' + v.value).show();
        });
    }

    filterElements();

    $('#show').click(function () {
        $('#demo').mobiscroll('show');
        return false;
    });

});
<div class="md-checklist">
    <div class="md-label-filter" mbsc-form>

        <div id="demo" class="md-dialog" style="display: none;">
            <div class="md-title">Filter</div>
            <div class="md-label-list" mbsc-form>
                <ul id="democheck">
                    <li class="md-follow-up" data-icon="material-label"><input type="checkbox" data-role="none" value="followup" checked/>Follow up</li>
                    <li class="md-misc" data-icon="material-label"><input type="checkbox" data-role="none" checked value="misc" />Misc</li>
                    <li class="md-priority" data-icon="material-label"><input type="checkbox" data-role="none" value="priority" checked/>Priority</li>
                    <li class="md-family" data-icon="material-label"><input type="checkbox" data-role="none" value="family" checked/>Family</li>
                    <li class="md-important" data-icon="material-label"><input type="checkbox" data-role="none" value="important" checked/>Important</li>
                    <li class="md-work" data-icon="material-label"><input type="checkbox" data-role="none" value="work" checked />Work</li>
                </ul>
            </div>
        </div>

        <ul id="email-list" class="md-mailbox" style="display:none">
            <li data-role="list-divider">Messages <button id="show" class="md-show">Filter</button></li>
            <li class="md-email-item md-followup">
                <img class="md-mail-icon" src="/Content/img/f3.png">
                <div class="md-mail-date">Nov 4</div>
                <div class="md-mail-from">Viola Smith</div>
                <div class="md-mail-subject">Angular js UI controls</div>
                <div class="md-mail-body">I'm planning to create a mobile app with angular js ...</div>
                <div class="md-mail-label" style="background:#454545;">follow up</div>
            </li>
            <li class="md-email-item md-work">
                <img class="md-mail-icon" src="/Content/img/demos/mr1.png">
                <div class="md-mail-date">Nov 2</div>
                <div class="md-mail-from">Barry Lyon</div>
                <div class="md-mail-subject">Guess what?</div>
                <div class="md-mail-body">You can now book hotels on our new website! Enjoy your weekend.</div>
                <div class="md-mail-label" style="background:#337ab7;">work</div>
            </li>
            <li class="md-email-item md-family">
                <img class="md-mail-icon" src="/Content/img/demos/mrs1.png">
                <div class="md-mail-date">Oct 27</div>
                <div class="md-mail-from">Angelina Carston</div>
                <div class="md-mail-subject">This is blowig up</div>
                <div class="md-mail-body">Hey, thanks for helping me with this, I've had a hole lot a fun. Talk with you ...</div>
                <div class="md-mail-label" style="background:#5cb85c;">family</div>
            </li>
            <li class="md-email-item md-priority">
                <img class="md-mail-icon" src="/Content/img/f4.png">
                <div class="md-mail-date">Oct 31</div>
                <div class="md-mail-from">Ema Joly</div>
                <div class="md-mail-subject">October update</div>
                <div class="md-mail-body">Hi John, New servers are installed, firewalls are set up. Call Mike ... </div>
                <div class="md-mail-label" style="background:#f0ad4e;">priority</div>
            </li>
            <li class="md-email-item md-misc">
                <img class="md-mail-icon" src="/Content/img/demos/mr2.png">
                <div class="md-mail-date">Oct 31</div>
                <div class="md-mail-from">Linton Bradley</div>
                <div class="md-mail-subject">Re: active</div>
                <div class="md-mail-body">Just activated your account. Give me a call if you need any help!</div>
                <div class="md-mail-label" style="background:#5bc0de;">misc</div>
            </li>
            <li class="md-email-item md-family">
                <img class="md-mail-icon" src="/Content/img/f1.png">
                <div class="md-mail-date">Oct 31</div>
                <div class="md-mail-from">Liza Taylor</div>
                <div class="md-mail-subject">See you soon ...</div>
                <div class="md-mail-body">Hi bro!! We're gonna be a little late! XOXO </div>
                <div class="md-mail-label" style="background:#5cb85c;">family</div>
            </li>
            <li class="md-email-item md-work">
                <img class="md-mail-icon" src="/Content/img/m2.png">
                <div class="md-mail-date">Oct 28</div>
                <div class="md-mail-from">Abraham Donton</div>
                <div class="md-mail-subject">Accounting</div>
                <div class="md-mail-body">Just giving you a heads up, briging this months papers in ... </div>
                <div class="md-mail-label" style="background:#337ab7;">work</div>
            </li>
            <li class="md-email-item md-important">
                <img class="md-mail-icon" src="/Content/img/m3.png">
                <div class="md-mail-date">Oct 27</div>
                <div class="md-mail-from">Donald Rikovski</div>
                <div class="md-mail-subject">Cannot reach you</div>
                <div class="md-mail-body">Hey John, I've been tring to call you like 10 times. Please give me a call back!</div>
                <div class="md-mail-label" style="background:#d9534f;">important</div>
            </li>
            <li class="md-email-item md-misc">
                <img class="md-mail-icon" src="/Content/img/demos/mr2.png">
                <div class="md-mail-date">Oct 27</div>
                <div class="md-mail-from">Linton Bradley</div>
                <div class="md-mail-subject">Re: active</div>
                <div class="md-mail-body">Just activated your account. Give me a call if you need any help!</div>
                <div class="md-mail-label" style="background:#5bc0de;">misc</div>
            </li>
            <li class="md-email-item md-followup">
                <img class="md-mail-icon" src="/Content/img/demos/mrs2.png">
                <div class="md-mail-date">Oct 27</div>
                <div class="md-mail-from">Lettie Marje</div>
                <div class="md-mail-subject">Your order ha shipped</div>
                <div class="md-mail-body">Hi John, letting you know, your packgage is on the way. Give me a call if you have questions.</div>
                <div class="md-mail-label" style="background:#454545;">follow up</div>
            </li>
        </ul>
    </div>
</div>
.demo-checklist {
    padding: 0!important;
}

.md-dialog {
    min-width: 250px;
}

.md-title {
    padding-left: .8em;
    font-size: 20px;
    margin: .4em 0 .5em 0;
}

.md-dialog .md-label-list .mbsc-lv-item-ic-left .mbsc-lv-item-ic {
    font-size: 24px;
    left: .25em;
}

.md-misc .mbsc-lv-item-ic {
    color: #5bc0de;
}

.md-priority .mbsc-lv-item-ic {
    color: #f0ad4e;
}

.md-family .mbsc-lv-item-ic {
    color: #5cb85c;
}

.md-important .mbsc-lv-item-ic {
    color: #d9534f;
}

.md-work .mbsc-lv-item-ic {
    color: #337ab7;
}

.mbsc-wp .md-dialog .md-label-list .mbsc-checkbox-box {
    left: auto;
    right: 1em;
}

.mbsc-wp .md-dialog .mbsc-checkbox {
    padding-right: 2.875em;
}

.mbsc-android-holo .md-dialog .mbsc-lv-item {
    border: 0;
}

.md-check-wdg.mbsc-wdg .mbsc-w-p.mbsc-wdg-c {
    padding: 0;
}

.mbsc-wdg .md-label-list .mbsc-lv {
    background: initial;
    margin: -1px 0;
}

/* listview */

.md-label-filter .md-mailbox .mbsc-lv-item {
    line-height: 20px;
    padding: 10px 4.5em 10px 60px;
}

.md-label-filter .md-mailbox .mbsc-lv-gr-title {
    text-transform: capitalize;
    font-size: 16px;
    padding: .75em;
    overflow: hidden;
}

.md-label-filter .md-demo-note {
    cursor: pointer;
}

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

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

.md-label-filter .md-mail-from {
    font-size: 14px;
    font-weight: 600;
}

.md-label-filter .md-mail-subject {
    font-weight: 600;
    font-size: 12px;
}

.md-label-filter .md-mail-body {
    font-size: 12px;
}

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

.md-label-filter .md-mailbox .md-show {
    position: absolute;
    right: .75em;
    margin: 0;
    padding: 0 .5em 0 .5em;
    top: 50%;
    margin-top: -15px;
    height: 30px;
    text-transform: capitalize;
}

.md-label-filter .md-mail-label {
    position: absolute;
    bottom: 1em;
    right: 8px;
    color: #fff;
    font-size: 11px;
    line-height: 12px;
    padding: 1px 4px;
}

Widget - Sheet List

Choose demo
$(function () {

    $('#demo-lv').mobiscroll().listview({
        theme: '',
        enhance: true,
        swipe: false,
        onItemTap: function (event, inst) {
            $('#demo').mobiscroll('hide');
            mobiscroll.toast({
                message: $(event.target).text() + ' clicked'
            });
        }
    });

    $('#demo-list').mobiscroll().listview({
        onItemTap: function (event, inst) {
            if ($(event.domEvent.target).hasClass('mbsc-ic')) {
                $('#demo').mobiscroll('show');
            }
        },
        enhance: true,
        swipe: false,
        theme: ''
    });

    $('#demo').mobiscroll().widget({
        theme: '',
        lang: '',
        display: '',
        buttons: [],
        cssClass: 'md-sl-widget'
    });
});
<div class="md-sheetlist">
    <ul id="demo-list" class="md-lv-cont" style="display:none">
        <li data-role="list-divider">5 Comments</li>
        <li data-icon="line-settings" data-icon-align="right">
            <img src="/Content/img/demos/m1.png" />
            <p class="md-name">Barry Lyon</p>
            <p>Thank you for this and other previous useful contributions. If you have the time and inclination won't you please look into the use of "deep links".</p>
        </li>
        <li data-icon="line-settings" data-icon-align="right">
            <img src="/Content/img/demos/f1.png" />
            <p class="md-name">Hortense Tinker</p>
            <p>For the past months I've been discovering the cordova / ionic universe and everytime I had a doubt or problem about a funcionality I wanted to add I find out you already made a post about it. Thank you SO much.</p>
        </li>
        <li data-icon="line-settings" data-icon-align="right">
            <img src="/Content/img/demos/m2.png" />
            <p class="md-name">Carl Hambledon</p>
            <p>Thank you very much for this useful article!!!</p>
        </li>
        <li data-icon="line-settings" data-icon-align="right">
            <img src="/Content/img/demos/f2.png" />
            <p class="md-name">Arlene Sharman</p>
            <p>This is just what I was looking for, thanks for the article and congratulations because it's very well written</p>
        </li>
        <li data-icon="line-settings" data-icon-align="right">
            <img src="/Content/img/demos/m3.png" />
            <p class="md-name">Noble Blythe</p>
            <p>This is helpful,and recently i wanna to take a deep dive in the touch events.</p>
        </li>
    </ul>

    <div id="demo" class="md-list" style="display: none;">
        <p>COMMENT ACTIONS</p>
        <ul id="demo-lv" class="md-widget-list" mobiscroll-listview="lvSettings">
            <li data-icon="share">Share</li>
            <li data-icon="cloud-upload">Upload</li>
            <li data-icon="copy3">Copy</li>
            <li data-icon="print">Print</li>
        </ul>
    </div>
</div>
.demo-sheetlist {
    padding: 0!important;
}

.md-sheetlist {
    font-size: 16px;
}

.md-widget-list .mbsc-lv-cont .mbsc-lv {
    background: transparent;
}

.md-sl-widget.mbsc-ios .dwcc,
.md-sl-widget.mbsc-ios .mbsc-fr-c.mbsc-wdg-c {
    padding: 1em 0 0 0;
}

.md-sl-widget p {
    padding-left: .8em;
}

.mbsc-lv-cont .md-lv-cont .mbsc-lv-img {
    margin: 0;
    top: 2.25em;
}

.mbsc-lv-cont .md-lv-cont .mbsc-lv-txt {
    font-size: .85em;
}

.mbsc-lv-cont .md-lv-cont .md-name {
    font-size: 16px;
    padding-bottom: .35em;
}


/* icon style*/

.md-lv-cont .mbsc-lv-item-ic {
    background: #4eccc4;
    border-radius: 1em;
    color: #f7f7f7;
    cursor: pointer;
}

.md-lv-cont .mbsc-lv-item-ic:before {
    font-size: 1.25em;
}

.mbsc-lv-material .md-lv-cont .mbsc-lv-item-ic {
    background: #009688;
    color: #eee;
}

.mbsc-lv-ios-classic .md-lv-cont .mbsc-lv-item-ic,
.mbsc-lv-ios .md-lv-cont .mbsc-lv-item-ic {
    background: #007aff;
    color: #f7f7f7;
}

.mbsc-lv-android-holo .md-lv-cont .mbsc-lv-item-ic {
    background: #29799c;
    color: #484848;
}

.mbsc-lv-android .md-lv-cont .mbsc-lv-item-ic {
    background: #ffb25a;
}

.mbsc-lv-wp .md-lv-cont .mbsc-lv-item-ic {
    background: #b1b1b1;
}

.mbsc-lv-sense .md-lv-cont .mbsc-lv-item-ic {
    background: #4CBDE6;
}


/*jqm and bootstrap theme overrides */

.mbsc-lv-cont.mbsc-lv-jqm .md-lv-cont .mbsc-lv-item .mbsc-lv-img {
    top: .5em;
}

.mbsc-lv-cont.mbsc-lv-bootstrap .md-lv-cont .mbsc-lv-img {
    top: .75em;
}

.mbsc-lv-cont.mbsc-lv-bootstrap .md-lv-cont .mbsc-lv-item {
    background: #fff;
    padding: .75em .75em .75em 4.5em;
    margin-top: -1px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.mbsc-lv-cont.mbsc-lv-bootstrap .md-lv-cont .mbsc-lv-gr-title {
    padding: .25em 1.5em;
    background: #efefef;
}

Widget - Sheet Grid

Choose demo
$(function () {

    $('#demo-ms').mobiscroll().menustrip({
        theme: '',
        type: 'menu',
        snap: true,
        itemWidth: 80,
        display: 'inline',
        onItemTap: function (ev, inst) {
            $('#demo').mobiscroll('hide');
            mobiscroll.toast({
                message: $(ev.target).text() + ' clicked'
            });
        }
    });

    $('#demo').mobiscroll().widget({
        theme: '',
        lang: '',
        display: '',
        buttons: [],
        cssClass: 'md-ms-grid',
        onClose: function (ev, inst) {
            $('.mbsc-ripple', inst._markup).remove();
        }
    });

    $('#demo-list').mobiscroll().listview({
        theme: '',
        enhance: true,
        swipe: false,
        onItemTap: function (ev, inst) {
            if ($(ev.domEvent.target).hasClass('mbsc-ic')) {
                $('#demo').mobiscroll('show');
            }
        }
    });

});
<div class="md-sheetgrid">
    <div id="demo" style="display: none;">
        <ul id="demo-ms">
            <li data-icon="ion-social-facebook">Facebook</li>
            <li data-icon="fa-twitter">Twitter</li>
            <li data-icon="fa-google-plus">Google plus</li>
            <li data-icon="ion-email">Email</li>
            <li data-icon="bubble">Message</li>
            <li data-icon="copy3">Copy</li>
        </ul>
    </div>

    <ul id="demo-list" class="md-lv-cont" style="display:none">
        <li data-role="list-divider">5 Comments</li>
        <li data-icon="share" data-icon-align="right">
            <img src="/Content/img/demos/m1.png" />
            <p class="md-name">Barry Lyon</p>
            <p>Thank you for this and other previous useful contributions. If you have the time and inclination won't you please look into the use of "deep links".</p>
        </li>
        <li data-icon="share" data-icon-align="right">
            <img src="/Content/img/demos/f1.png" />
            <p class="md-name">Hortense Tinker</p>
            <p>For the past months I've been discovering the cordova / ionic universe and everytime I had a doubt or problem about a funcionality I wanted to add I find out you already made a post about it. Thank you SO much.</p>
        </li>
        <li data-icon="share" data-icon-align="right">
            <img src="/Content/img/demos/m2.png" />
            <p class="md-name">Carl Hambledon</p>
            <p>Thank you very much for this useful article!!!</p>
        </li>
        <li data-icon="share" data-icon-align="right">
            <img src="/Content/img/demos/f2.png" />
            <p class="md-name">Arlene Sharman</p>
            <p>This is just what I was looking for, thanks for the article and congratulations because it's very well written</p>
        </li>
        <li data-icon="share" data-icon-align="right">
            <img src="/Content/img/demos/m3.png" />
            <p class="md-name">Noble Blythe</p>
            <p>This is helpful,and recently i wanna to take a deep dive in the touch events.</p>
        </li>
    </ul>
</div>
.demo-sheetgrid {
    padding: 0!important;
}

.md-sheetgrid {
    font-size: 16px;
}

.mbsc-lv-cont .md-lv-cont .mbsc-lv-txt {
    font-size: .85em;
}

.mbsc-lv-cont .md-lv-cont .md-name {
    font-size: 16px;
    padding-bottom: .35em;
}

.mbsc-wdg.md-ms-grid .mbsc-wdg-c.mbsc-fr-c,
.mbsc-wdg.md-ms-grid .dwcc {
    padding: 0;
}

.md-ms-grid.mbsc-ios.mbsc-wdg .mbsc-fr-popup {
    border: 0;
}


/* icon style*/

.md-lv-cont .mbsc-lv-item-ic {
    background: #4eccc4;
    border-radius: 1em;
    color: #f7f7f7;
    cursor: pointer;
}

.md-lv-cont .mbsc-lv-item-ic:before {
    font-size: 1em;
}

.mbsc-lv-material .md-lv-cont .mbsc-lv-item-ic {
    background: #009688;
    color: #eee;
}

.mbsc-lv-ios-classic .md-lv-cont .mbsc-lv-item-ic,
.mbsc-lv-ios .md-lv-cont .mbsc-lv-item-ic {
    background: #007aff;
    color: #f7f7f7;
}

.mbsc-lv-android-holo .md-lv-cont .mbsc-lv-item-ic {
    background: #29799c;
}

.mbsc-lv-android .md-lv-cont .mbsc-lv-item-ic {
    background: #ffb25a;
}

.mbsc-lv-wp .md-lv-cont .mbsc-lv-item-ic {
    background: #b1b1b1;
}

.mbsc-lv-sense .md-lv-cont .mbsc-lv-item-ic {
    background: #4CBDE6;
}


/*jqm and bootstrap theme overrides */

.mbsc-lv-cont.mbsc-lv-jqm .md-lv-cont .mbsc-lv-item .mbsc-lv-img {
    top: .5em;
}

.mbsc-lv-cont.mbsc-lv-bootstrap .md-lv-cont .mbsc-lv-img {
    top: .75em;
}

.mbsc-lv-cont.mbsc-lv-bootstrap .md-lv-cont .mbsc-lv-item {
    background: #fff;
    padding: .75em .75em .75em 4.5em;
    margin-top: -1px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.mbsc-lv-cont.mbsc-lv-bootstrap .md-lv-cont .mbsc-lv-gr-title {
    padding: .25em 1.5em;
    background: #efefef;
}

Widget - Social login

Choose demo
// Use the settings object to change the theme
mobiscroll.settings = {
    theme: ''
};

$(function () {

    $('#demo').mobiscroll().widget({
        theme: '',
        lang: '',
        display: '',
        buttons: [],
        anchor: $('#show'),
        onMarkupReady: function (event, inst) {
            $('.md-btn', event.target).click(function () {
                inst.hide();
            });
        }
    });

});
<div class="md-sociallogin">
    <div class="md-social-login" mbsc-form>
        <div id="demo" style="display: none;">
            <div class="md-social" mbsc-form>
                <h5 class="md-header">Sign up or Log in with one of your existing accounts</h5>
                <div class="md-btn-cont">
                    <button class="md-fb md-btn" data-icon="ion-social-facebook">
                        Log in with Facebook
                    </button>
                    <button class=" md-twitter md-btn" data-icon="fa-twitter">
                        Log in with Twitter
                    </button>
                    <button class="md-google md-btn" data-icon="fa-google">
                        Log in with Google
                    </button>
                </div>
            </div>
        </div>

        <div class="md-header">
            <div class="mbsc-header-txt">Food & Baking</div>
            <button id="show" class="mbsc-btn-flat">Sign In</button>
        </div>

        <img class="md-pic" src="/content/img/demos/frozen.png" />
        <div class="mbsc-padding">
            <h4>Frozen Mango Cakes</h4>
            <h6 class="mbsc-desc">This frozen mango deliciousness is one of our all time favorite summer desserts. It’s quite refreshing on those hot days when you just need a nice, cold treat. I especially like the crunchy macadamia nut crust with the creamy, cool texture of the mango.</h6>
            <a href="">Continue Reading...</a>
        </div>
        <img class="md-pic" src="/content/img/demos/Blueberry.png" />
        <div class="mbsc-padding">
            <h4>Blueberry Bagel French Toast</h4>
            <h6 class="mbsc-desc">You guys won't even believe this, but I really didn't mean for this to be Fourth of July themed. It sort of turned out to be red white and blue though, so in case the cream cheese glaze and buttery bagel goodness didn't already convince you, now you really have no excuse not to make this tomorrow.</h6>
            <a href="">Continue Reading...</a>
        </div>

    </div>
</div>
.mbsc-fr-center .md-social,
.mbsc-fr-bubble .md-social {
    max-width: 300px;
}

.md-social h5.md-header {
    text-align: center;
    font-size: 17px;
}

.md-social .md-icon {
    float: left;
}

.md-social .mbsc-btn.md-btn .mbsc-btn-ic {
    font-size: 1.25em;
}

.md-social .mbsc-btn.md-google .mbsc-btn-ic {
    font-size: 1.125em;
}

.md-social .mbsc-btn.md-btn {
    display: block;
    width: 260px;
    margin: .5em auto;
    text-align: right;
    color: #fff;
    text-transform: none;
}

.md-social.mbsc-ios .mbsc-btn.md-btn.mbsc-active {
    color: #1272dc;
}

.md-social .mbsc-btn .mbsc-btn-ic {
    float: left;
}

.md-social .mbsc-btn.md-fb {
    background: #3c5c9a;
}

.md-social .mbsc-btn.md-twitter {
    background: #28aae1;
}

.md-social .mbsc-btn.md-google {
    background: #d34230;
}

.md-btn-cont {
    padding: .75em 0 1em 0;
}


/* content css */

.demo-sociallogin {
    padding: 0!important;
}

.md-social-login .md-header {
    position: relative;
    background: #4ECCC4;
    padding: 1em;
}

.mbsc-material.md-social-login .md-header {
    background: #009688;
}

.mbsc-android-holo.md-social-login .md-header {
    background: #31c6e7;
}

.mbsc-ios.md-social-login .md-header {
    background: #1272dc;
}

.mbsc-wp.md-social-login .md-header {
    background: #1a9fe0;
}

.md-social-login .md-header .mbsc-header-txt {
    display: inline-block;
    color: #fff;
}

.mbsc-wp.md-social-login .md-header .mbsc-btn {
    font-size: 1em;
}

.md-social-login .md-pic {
    width: 100%;
}

.md-social-login .md-header .mbsc-btn-flat {
    position: absolute;
    right: .75em;
    margin: 0;
    padding: 0 .5em 0 .5em;
    top: 50%;
    margin-top: -15px;
    height: 30px;
    color: #fff;
    text-transform: capitalize;
}

.md-social-login .md-header .mbsc-btn-flat.mbsc-active {
    background: rgba(255, 255, 255, 0.2);
}

Widget - Event handlers

Choose demo
$(function () {

    $('#demo').mobiscroll().widget({
        theme: '',
        lang: '',
        display: '',
        anchor: '#show',
        cssClass: 'md-dialog-cont',
        buttons: [{
            text: 'Great',
            handler: 'set'
        }, {
            text: 'I’ve been better',
            handler: 'cancel'
        }],
        onInit: function (event, inst) {
            // Your custom event handler goes here
        },
        onMarkupReady: function (event, inst) {
            // Your custom event handler goes here
        },
        onBeforeShow: function (event, inst) {
            // Your custom event handler goes here
        },
        onPosition: function (event, inst) {
            // Your custom event handler goes here
        },
        onShow: function (event, inst) {
            // Your custom event handler goes here
        },
        onDestroy: function (event, inst) {
            // Your custom event handler goes here
        },
        onClose: function (event, inst) {
            // Your custom event handler goes here
        },
        onCancel: function (event, inst) {
            // Your custom event handler goes here
        },
        onBeforeClose: function (event, inst) {
            // Your custom event handler goes here
        }
    });

});
<div mbsc-form>
    <div id="demo" style="display: none;">
        <div class="md-dialog">
            <h3>Hi</h3>
            <p>Are you feeling good today?</p>
        </div>
    </div>
</div>
.md-dialog {
    text-align: center;
}

.md-dialog-cont .md-dialog {
    width: 260px;
    margin: 0 auto;
}
Clear event log
EVENTS FIRED: 

Widget - Display modes

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

$(function () {

    $('#demo-bottom').mobiscroll().widget({
        display: 'bottom',
        cssClass: 'md-dialog-cont',
        buttons: [{
            text: 'Great',
            handler: 'set'
        }, {
            text: 'I’ve been better',
            handler: 'cancel'
        }]
    });

    $('#demo-top').mobiscroll().widget({
        display: 'top',
        cssClass: 'md-dialog-cont',
        buttons: [{
            text: 'Great',
            handler: 'set'
        }, {
            text: 'I’ve been better',
            handler: 'cancel'
        }]
    });

    $('#demo-center').mobiscroll().widget({
        display: 'center',
        cssClass: 'md-dialog-cont',
        buttons: [{
            text: 'Great',
            handler: 'set'
        }, {
            text: 'I’ve been better',
            handler: 'cancel'
        }]
    });

    $('#demo-bubble').mobiscroll().widget({
        display: 'bubble',
        cssClass: 'md-dialog-cont',
        anchor: $('#show-bubble'),
        buttons: [{
            text: 'Great',
            handler: 'set'
        }, {
            text: 'I’ve been better',
            handler: 'cancel'
        }]
    });

});
<div style="display:none" mbsc-form>
    <div class="mbsc-form-group">
        <div class="mbsc-form-group-title">Try different display modes</div>
        <div id="demo-bottom" style="display: none;">
            <div class="md-dialog">
                <h3>Hi</h3>
                <p>Are you feeling good today?</p>
            </div>
        </div>
        <div id="demo-top" style="display: none;">
            <div class="md-dialog">
                <h3>Hi</h3>
                <p>Are you feeling good today?</p>
            </div>
        </div>
        <div id="demo-center" style="display: none;">
            <div class="md-dialog">
                <h3>Hi</h3>
                <p>Are you feeling good today?</p>
            </div>
        </div>
        <div id="demo-bubble" style="display: none;">
            <div class="md-dialog">
                <h3>Hi</h3>
                <p>Are you feeling good today?</p>
            </div>
        </div>
    </div>
</div>
.md-dialog {
    text-align: center;
}

.md-dialog-cont .md-dialog {
    width: 260px;
    margin: 0 auto;
}
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.

Customize & try demos locally
Please sign in or start a free trial to download

What is your main focus at the moment?

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

Install demo in your app
Follow steps to install mobiscroll and use example

Install Mobiscroll for Ionic

Step 1.

Install the Mobiscroll CLI from npm (you might need sudo access).

Copy command
$ npm install -g @mobiscroll/cli

Step 2.

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

Copy command
$ mobiscroll config ionic
If your app is using lazy loading, run $ mobiscroll config ionic --lazy instead.

If Mobiscroll is installed in your app, copy the demo code from below.
The HTML goes into markup, the Typescript into the TS file and the CSS into the page stylesheet (scss file). If you need to install mobiscroll use the CLI and follow these two simple steps.

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
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 17
Cards 9
Color 8
Date & Time 12
Event Calendar 7
Forms 23
Image 5
Listview 18
Measurement 14
Navigation 6
Number 6
Numpad 12
Option List 4
Range 14
Scroller 5
Scrollview 4
Select 11
Styling 4
Timer 4
Timespan 5
Treelist 5
Widget 8
Demo Apps 5
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