On This Page

Sortable List

The UlVSort component is used to create a sortable list.

Basic usage

Expand/Collapse source code
Copied
Copy source sections
Copy source as is
Imports
import live-web.dom
import live-web-view.content
Styles
static any[] use = [UlVSort, Content]
Content
UlVSort{ 
    LiSort{ key: '1'  T`Item 1` }
    LiSort{ key: '2'  T`Item 2` }
    LiSort{ key: '3'  T`Item 3` }
    LiSort{ key: '4'  T`Item 4` }
    LiSort{ key: '5'  T`Item 5` }
}