ForgeComponents
en

Components

j-Range

jComponent 20 · jcomponent@20 component Example loaded with jComponent 20
  • supports dark mode

Attributes:

  • max {Number} maximum value (default: 100)
  • min {Number} minimum value (default: 0)
  • step {Number} step size (default: 1)
  • required {Boolean} optional, enables "required" (default: false)
  • type {String} optional, can be number and converts the value to number (default: string)

Use it with <ui-component name="range">. When the component is not loaded yet, jComponent downloads it on first use from the address in DEF.fallback (the Componentator CDN by default). Author: Peter Širka. Source: the Componentator components repository, MIT license.

example.html
<div style="margin: 80px auto 0;width:400px;">
	<ui-component name="range" path="myrange" config="required:true;type:number">Select size</ui-component>
</div>

<script>
	var myrange = 30;
</script>