Skip to main content

InteractiveViewer

Type nameSupports Property AnimationsControlled by defaultMay contain associated actionLink
InteractiveViewer✗✔️✗link

Usage​

InteractiveViewer(
&duit_attributes.InteractiveViewerAttributes[duit_core.RemoteAction]{
PanEnabled: true,
ScaleEnabled: true,
MinScale: 0.8,
MaxScale: 2.5,
Constrained: true,
ClipBehavior: "hardEdge",
OnInteractionStart: &duit_core.RemoteAction{
Event: "/on_interaction_start",
},
OnInteractionEnd: &duit_core.RemoteAction{
Event: "/on_interaction_end",
},
},
"id",
nil, //child
)