Skip to main content

Module bind

Module bind 

Source
Expand description

Conversions of {x:Bind ...} values to what a bound attribute takes (generated component code calls these).

Traits§

BindColor
BindNumber
BindUnits

Functions§

color
bg, color, focus_color, tint: 0xAARRGGBB, or a .yui color string.
count
count of an InvSlot.
flag
enabled, visible, shadow.
number
gap, flex, min_w, min_h, font_scale.
text
text, placeholder, image sources, nested component properties.
units
w, h: a number of pixels, Units, or a .yui size string ("50%", "auto").