SwipeableT.emitChildSwitched

Emits HdySwipeable::child-switched signal. This should be called when the widget switches visible child widget.

@duration can be 0 if the child is switched without animation.

template SwipeableT(TStruct)
void
emitChildSwitched
(
uint index
,)

Parameters

index uint

the index of the child to switch to

duration long

Animation duration in milliseconds

Meta

Since

1.0