JSFiddle - React, Tailwind, and code Playground
by karthick6891
HTML
<!-- Jquery Mobile Boilerplate -->
<!DOCTYPE html>
<html>
<head>
<title>jQM Complex Demo</title>
<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; minimum-scale=1.0; user-scalable=no; target-densityDpi=device-dpi"/>
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.css" />
<!--<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>-->
<script src="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.js"></script>
</head>
<body>
<div data-role="page" id="index">
<div data-theme="b" data-role="header">
<h1>Index page</h1>
</div>
<div data-role="content">
<a data-role="button" class="btn">Level 5</a>
<a data-role="button">Level 4</a>
<a data-role="button">Level 3</a>
<a data-role="button">Level 2</a>
<a data-role="button">Level 1</a>
<a data-role="button">Stretch</a>
<a data-role="button">Warm up</a>
</div>
</div>
</body>
</html>
CSS
.ui-btn {
width: 200px !important;
}
JavaScript
$(document).on('pagebeforeshow', '#index', function(){
console.log("init");
});