Skip to content
This repository has been archived by the owner on Oct 17, 2019. It is now read-only.
/ EmeraudeSort Public archive

Sort your html list array or div without doing any css line.

Notifications You must be signed in to change notification settings

LeoBenoist/EmeraudeSort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

EmeraudeSort

Sort your html list array or div without doing any css line.

Sometimes examples help more than a book of explanation.

<button
  data-em-sort='true'
  data-em-sort-parent-sortable-selector='.item'
  data-em-sort-sortable-selector='.name'>Sort Asc
</button>
<button
  data-em-sort='true'
  data-em-sort-parent-sortable-selector='.item'
  data-em-sort-sortable-selector='.name'
  data-em-sort-sortable-order="DESC">Sort Desc
</button>
<ul>
  <li class="item">
    <span class="name">3</span>
  </li>
  <li class="item">
    <span class="name">1</span>
  </li>
  <li class="item">
    <span class="name">2</span>
  </li>
</ul>

About

Sort your html list array or div without doing any css line.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published