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

Loader

Loader is a native Zui container in the foundation and layout catalog, with 5 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
loader active: true, asynchronous: true,
  width: 420, height: 240 do
  skeleton width: 420, height: 120
end
API

Component properties

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

activeActive configuration for Loader.property
asynchronousAsynchronous configuration for Loader.property
widthWidth configuration for Loader.property
heightHeight configuration for Loader.property
visibleVisible configuration for Loader.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
loadedNative event payload
statusNative event payload
errorNative event payload