Window
The root of the Vue.js application must be a Window component which represents a single window.
The window must contain exactly one child widget, typically a container.
type: String
The title of the window.
type: Number
The width of the window content.
type: Number
The height of the window content.
type: Boolean
Whether the window adds a margin around its content.
type: Boolean
Whether the window has a menu.
type: Boolean
Whether the window is displayed in full screen mode.
type: Boolean
Whether the window is displayed without the border and title bar.
Called when the close button is clicked. To exit the application, call
this.$exit()
. To close the window without exiting the application, call this.$root.$destroy()
.Called when the window is about to be shown. Unlike the
mounted()
life-cycle hook, at this point all widgets are already initialized.Called when the size of the window is changed. The current size is passed as an argument. It's an object containing
w
and h
properties representing the width and height.type: libui.UiWindow
This property of the Window component returns the associated libui.UiWindow object.
<Window title="Vuido Example" width="400" height="100" margined v-on:close="exit">
<Box padded>
...
</Box>
</Window>
Last modified 4yr ago