JSFiddle - React, Tailwind, and code Playground

by kovlex

HTML

<link rel="stylesheet" href="http://demo.mobiscroll.com/Content/css/mobiscroll-2.2.full.min.css">
<script src="http://demo.mobiscroll.com/Content/js/mobiscroll-2.2.full.min.js"></script>
<input ID="i" style="display: none;" />

JavaScript

$(function(){
    var data = [{}];
    for (var i = 0; i < 4; i++) {
        var wheel = {};
        for (var j = 0; j < 9; j++) {
            wheel[j] = j;
        }
        data[0][i] = wheel;
    }

    $('#i').scroller({
        theme: 'jqm',
        display: 'inline',
        mode: 'scroller',
        wheels: data,
        showLabel: false
    });    
});