Skip to main content

Interface: ListElementViewProps

Props for ListElementView component.

See

ListElementView

Properties

PropertyTypeDescription

className?

string

Additional CSS class for the component.

disabled?

boolean

Whether to disable item selection and ability to drag and drop it.

element

ElementModel

Entity data to display.

highlightText?

string

Text sub-string to highlight in the displayed entity.

onClick?

(event: MouseEvent<any, MouseEvent>, model: ElementModel) => void

Handler for a click on the list item.

onDragStart?

DragEventHandler<HTMLElement>

Handler for a drag start event of the list item.

selected?

boolean

Whether the list item is selected.