zui docs v0.0.5
GitHub ↗
Foundation and layout Container Native Qt

Flipable

Flipable is a native Zui container in the foundation and layout catalog, with 8 component-specific properties.

Usage

Ruby example

Paste this complete Builder example inside the app surface from the Quickstart. Replace illustrative asset paths with files from your project.

Ruby
flipable flipped: false, axis: :y,
  duration: 320, width: 320, height: 200 do
  card { label "Front / back content" }
end
API

Component properties

8 component-specific values, plus shared item and layout properties.

flippedFlipped configuration for Flipable.property
axisAxis configuration for Flipable.property
durationDuration configuration for Flipable.property
easingEasing configuration for Flipable.property
interactiveInteractive configuration for Flipable.property
widthWidth configuration for Flipable.property
heightHeight configuration for Flipable.property
visibleVisible configuration for Flipable.property
Show 14 shared item properties
enabledopacityscalerotationzfill_widthfill_heightpreferred_widthpreferred_heightminimum_widthminimum_heightmaximum_widthmaximum_heightlayout_alignment
Interaction

Events

Subscribe with on widget, :event and keep behavior in Ruby.

clickNative event payload
changeNative event payload