Vuido
GitHub
Search…
About Vuido
Introduction
Installation
Usage
Packaging
Built-in Components
Window
Containers
Box
Form
Group
Tab
Widgets
Powered By
GitBook
Box
A container which arranges all children vertically or horizontally.
Attributes
horizontal
type: Boolean
Whether the box arranges its children vertically or horizontally.
padded
type: Boolean
Whether the box adds some padding between its children.
Child Attributes
The following attributes can be added to child components to change the way they are handled by the box container.
stretchy
type: Boolean
Whether the child stretches to fill available space.
Example
1
<
Box
horizontal
padded
>
2
<
Button
v-on:
click
=
"
ok
"
>
OK
</
Button
>
3
<
Button
v-on:
click
=
"
cancel
"
>
Cancel
</
Button
>
4
</
Box
>
Copied!
Previous
Containers
Next
Form
Last modified
4yr ago
Copy link
Contents
Attributes
horizontal
padded
Child Attributes
stretchy
Example