Props

data class Props<PAYLOAD : Any>(val payloadType: KClass<PAYLOAD>, val accepts: (PAYLOAD) -> Boolean, val onDrop: (PAYLOAD) -> Unit, val onMouseOver: (target: Component<*>) -> Unit, val onMouseOut: (target: Component<*>) -> Unit, val onDragStart: (target: Component<*>) -> Unit, val onDragEnd: (target: Component<*>) -> Unit, val key: String?)

Constructors

Link copied to clipboard
fun <PAYLOAD : Any> Props(payloadType: KClass<PAYLOAD>, accepts: (PAYLOAD) -> Boolean, onDrop: (PAYLOAD) -> Unit, onMouseOver: (target: Component<*>) -> Unit, onMouseOut: (target: Component<*>) -> Unit, onDragStart: (target: Component<*>) -> Unit, onDragEnd: (target: Component<*>) -> Unit, key: String?)

Properties

Link copied to clipboard
Link copied to clipboard
val key: String?
Link copied to clipboard
val onDragEnd: (target: Component<*>) -> Unit
Link copied to clipboard
val onDragStart: (target: Component<*>) -> Unit
Link copied to clipboard
val onDrop: (PAYLOAD) -> Unit
Link copied to clipboard
val onMouseOut: (target: Component<*>) -> Unit
Link copied to clipboard
val onMouseOver: (target: Component<*>) -> Unit
Link copied to clipboard