List of items, which include categories and subcategories.
You can move any items on another place (change order of categories, change order of subcategories).
it's smooth
!
-
Click on category to expand/hide subcategories
Smooth expand worked by max-height:
parentElement.style.max-height: 0
parentElement.style.max-height: scrollHeight + 'px'
-
Grab category and change with another category
Hover on two-ways arrow, move category under another one category
You can see the blue line - it's place for dropping!
Then drop category (worked by before\after) onto that.
-
Grab subcategory and change with another subcategory (you can drop it at current category, or any category else)
Be notice - drop element available only if you move youre coursor inside of element below (not when you move youre coursor away from element below... (シ_ _)シ )