Vuido
GitHub
Search…
About Vuido
Introduction
Installation
Usage
Window Template
Script Section
Interpolations
Computed Properties
Conditionals and Loops
Handling User Input
Managing Windows
Displaying Dialogs
Custom Components
Using libui Classes
Common Attributes
Packaging
Built-in Components
Powered By
GitBook
Using libui Classes
In most cases you don't have to use the libui library directly, because Vuido provides its own API and components to interface with that library.
However, there are situations where you have to directly use some classes from the libui library. You can import it in the following way:
1
import
libui
from
'libui-node'
2
3
const
path
=
new
libui
.
UiDrawPath
(
libui
.
fillMode
.
winding
);
Copied!
Alternatively, you can use the
$libui
property available in all Vuido components:
1
const
path
=
new
this
.
$libui
.
UiDrawPath
(
this
.
$libui
.
fillMode
.
winding
);
Copied!
For more information, see the
libui-node documentation
.
Previous
Custom Components
Next
Common Attributes
Last modified
3yr ago
Copy link