Dnd Drag Handle Component
class DndDragHandleComponent<PAYLOAD : Any>(ctx: Ctx<DndDragHandleComponent.Props<PAYLOAD>>) : Component<DndDragHandleComponent.Props<PAYLOAD>>
Content copied to clipboard
Constructors
Link copied to clipboard
fun <PAYLOAD : Any> DndDragHandleComponent(ctx: Ctx<DndDragHandleComponent.Props<PAYLOAD>>)
Content copied to clipboard
Types
Functions
Link copied to clipboard
open fun onNextProps(newProps: DndDragHandleComponent.Props<PAYLOAD>, previousProps: DndDragHandleComponent.Props<PAYLOAD>)
Content copied to clipboard
Called when the component is about to receive new props.
Link copied to clipboard
open fun shouldRedraw(nextProps: DndDragHandleComponent.Props<PAYLOAD>): Boolean
Content copied to clipboard
Returns 'true' when the component should redraw.
Link copied to clipboard
fun <T> subscribingTo(stream: Stream<T>, onNext: (T) -> Unit? = null): ReadOnlyProperty<Any?, T>
Content copied to clipboard
Creates a property that is subscribed to a stream.
Link copied to clipboard
Triggers a redraw