Order API
API Reference e-order
Properties
Name | Description | Type | Required | Default value |
---|---|---|---|---|
editing | Enable item ordering functionality, delete attribute for not editing | boolean | false | |
colums | defines a quasi grid | number | 2 |
API Reference e-order-item
Properties
Name | Description | Type | Required | Default value |
---|---|---|---|---|
id | String item id | string | true | |
order | Defines the place of the item | number | true | |
size | Defines item width, e.g. if the value is 2 the item occupies 2 columns | number | 1 |
Events
Event | Description | Returns |
---|---|---|
change |
An array containing the elements with `id` and `order` properties | {
detail: [...items]
} |