id | string | (8-digit random) | Identifies widget. Set this to make it searchable. |
x | string or number | 0 | Can be either plain number or number with unit. |
y | string or number | 0 | Can be either plain number or number with unit. |
scaleX | number | 1.0 | Fraction of number. This will multiply width. |
scaleY | number | 1.0 | Fraction of number. This will multiply height. |
scale | number | 1.0 | Set this to change both scaleX and scaleY at once. |
alpha | number | 1.0 | 0.0 means transparent and 1.0 is fully opaque. |
angle | number | 0 | 0.0 means transparent and 1.0 is fully opaque. |
elevation | string or number | 0 | Can be either plain number or number with unit. |
cornerRadius | string or number | 0 | Can be either plain number or number with unit. |
presence | boolean | true | If true, this widget will affects other widgets' position and size. |
visible | boolean | true | If true, this widget will be drawn. |
clipping | boolean | true | If true, content of this widget will be cropped if exceed the boundary. |
suspendUpdate | boolean | true | Set true to temporarily prevent update trigger. |
foregroundColor | number | app.res.style.foregroundColor | Use app.colors.* to set the color. |
borderColor | number | this.foregroundColor | Use app.colors.* to set the color. |
borderSize | string or number | 0 | Can be either plain number or number with unit. |
paddingTop | string or number | 0 | Can be either plain number or number with unit. |
paddingBottom | string or number | 0 | Can be either plain number or number with unit. |
paddingLeft | string or number | 0 | Can be either plain number or number with unit. |
paddingRight | string or number | 0 | Can be either plain number or number with unit. |
paddingHorizontal | string or number | 0 | Set this to write both paddingLeft and paddingRight at once. |
paddingVertical | string or number | 0 | Set this to write both paddingTop and paddingBottom at once. |
paddings | string or number | 0 | Set this to write paddingTop, paddingBottom, paddingLeft and paddingRight. |
marginTop | string or number | 0 | Can be either plain number or number with unit. |
marginBottom | string or number | 0 | Can be either plain number or number with unit. |
marginLeft | string or number | 0 | Can be either plain number or number with unit. |
marginRight | string or number | 0 | Can be either plain number or number with unit. |
marginHorizontal | string or number | 0 | Set this to write both marginLeft and marginRight at once. |
marginVertical | string or number | 0 | Set this to write both marginTop and marginBottom at once. |
margins | string or number | 0 | Set this to write marginTop, marginBottom, marginLeft and marginRight. |
alignSelf | string | "" | Align position of this widget. See alignment guide. |
hookTopToTopOf | string | "" | ID of targeted widget. Only works if currently content of HookLayout. |
hookTopToBottomOf | string | "" | ID of targeted widget. Only works if currently content of HookLayout. |
hookBottomToBottomOf | string | "" | ID of targeted widget. Only works if currently content of HookLayout. |
hookBottomToTopOf | string | "" | ID of targeted widget. Only works if currently content of HookLayout. |
hookLeftToLeftOf | string | "" | ID of targeted widget. Only works if currently content of HookLayout. |
hookLeftToRightOf | string | "" | ID of targeted widget. Only works if currently content of HookLayout. |
hookRightToRightOf | string | "" | ID of targeted widget. Only works if currently content of HookLayout. |
hookRightToLeftOf | string | "" | ID of targeted widget. Only works if currently content of HookLayout. |
onDraw | function | (empty function) | Event listeners that you could set on .fiwl layout. |
onUpdate | function | (empty function) | Event listeners that you could set on .fiwl layout. |
onSelect | function | (empty function) | Event listeners that you could set on .fiwl layout. |
onOption | function | (empty function) | Event listeners that you could set on .fiwl layout. |
onScroll | function | (empty function) | Event listeners that you could set on .fiwl layout. |
onDragStart | function | (empty function) | Event listeners that you could set on .fiwl layout. |
onDragMove | function | (empty function) | Event listeners that you could set on .fiwl layout. |
onDragEnd | function | (empty function) | Event listeners that you could set on .fiwl layout. |
onHoverStart | function | (empty function) | Event listeners that you could set on .fiwl layout. |
onHoverMove | function | (empty function) | Event listeners that you could set on .fiwl layout. |
onHoverEnd | function | (empty function) | Event listeners that you could set on .fiwl layout. |
onAsyncCreate | function | (empty function) | Event listeners that you could set on .fiwl layout. |
onReady | function | (empty function) | Event listeners that you could set on .fiwl layout. |
onSuspend | function | (empty function) | Event listeners that you could set on .fiwl layout. |
onDestroy | function | (empty function) | Event listeners that you could set on .fiwl layout. |