zui docs v0.0.5
GitHub ↗
Animation, state, and timing Native Qt

Script Action

Script Action is a native Zui component in the animation, state, and timing catalog, with 4 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
script_action :mark_ready, trigger: true, revision: 1
API

Component properties

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

actionAction configuration for Script Action.property
triggerTrigger configuration for Script Action.property
revisionRevision configuration for Script Action.property
visibleVisible configuration for Script Action.property
Show 16 shared item properties
enabledopacityscalerotationzwidthheightfill_widthfill_heightpreferred_widthpreferred_heightminimum_widthminimum_heightmaximum_widthmaximum_heightlayout_alignment
Interaction

Events

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

triggerNative event payload
finishNative event payload