You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 2, 2025. It is now read-only.
Arthur Guiot edited this page Jul 11, 2017
·
1 revision
How does it work?
This function actually means "Advanced range". So the goal is exactly the same as the $.range() function, but with more options. These are the arguments of this function:
start, this represents where to start.
end, this is the max value in the array
step, the step between each value in the list.
offset (optional), if you don't have any idea of what this is, simply don't use it 😊.
How to use it?
Imagine you have an online store and you want to display each page at the end of the search page like Google would do:
I just wanna mention that as always I won't give any CSS, so the numbers won't be in line.
HTML:
<ul></ul>
JS:
$.repeat($.select("ul"),$.arange(1,10,1),"<li>")
⚠️ Questions?
Don't hesitate to ask your questions ⁉️ in the issue part 😁