JSFiddle - React, Tailwind, and code Playground
by Dinko Ivanov
HTML
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css">
<script src="https://code.jquery.com/jquery-1.11.3.min.js"></script>
<script src="https://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"></script>
<script>
$(document).on('pagebeforeshow', '[data-role="page"]', function(){
var txt = $("#txt");
$('#slider-1').on('slidestart', function(){
txt.html(txt.html() + "|slidestart");
});
$('#slider-1').on('slidestop', function(){
txt.html(txt.html() + "|slidestop");
});
});
</script>
</head>
<body>
<div data-role="page">
<div data-role="main" class="ui-content">
<input name="slider-1" id="slider-1" min="0" max="100" value="50" type="range">
<div id="txt">text</div>
</div>
</div>
</body>
</html>