<vbox>
A vertical box for grouping subviews

JavaScript: lz.vbox
extends <view> » <node> » lz.Eventable »

Example 50. vbox

<canvas>
                <vbox>
                    <handler name="onclick">
                        this.animate('spacing', this.spacing == 10 ? 0 : 10, 1000);
                    </handler>
                    <text>click</text>
                    <text>to</text>
                    <text>animate</text>
                    <text>spacing</text>
                </vbox>
            </canvas>

Attributes

Name (CSS property) Type (tag) Type (js) Default Category
inset expression any 0 read/write
   
spacing expression any 0 read/write
   

Methods

Methods inherited from lz.Eventable

destroy, setAttribute

Events

Events inherited from <node>

onconstruct, ondata, oninit

Events inherited from lz.Eventable

ondestroy