/gRanger

Make visual element for select Int range. Like jQuery plugin slide(), but by native JS.

Primary LanguageJavaScriptMIT LicenseMIT

gRanger

Make visual element for select Int range. Like jQuery plugin slide(), but by native JS.

How To Use

HTML:

<input type="text" value="10" id="min">
<input type="text" value="100" id="max">
<div class="g-ranger" id="range"></div>

CSS:

<link rel="stylesheet" href="/css/gRanger.min.css">

JS:

<script type="text/javascript"src="/js/gRanger.min.js" defer></script>

<script type="text/javascript">
new gRanger('#range', '#min', '#max');
</script>