Vuido
  • About Vuido
  • Introduction
  • Installation
    • Manual Configuration
    • Production Builds
  • 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
    • Window
    • Containers
      • Box
      • Form
      • Group
      • Tab
    • Widgets
      • Area
        • AreaGroup
        • AreaPath
        • AreaText
      • Button
      • Checkbox
      • ColorButton
      • Combobox
      • DatePicker
      • DateTimePicker
      • DropdownList
      • FontButton
      • ProgressBar
      • RadioButtons
      • Separator
      • Slider
      • Spinbox
      • Text
      • TextArea
      • TextInput
      • TimePicker
Powered by GitBook
On this page
  1. Usage

Using libui Classes

PreviousCustom ComponentsNextCommon Attributes

Last updated 6 years ago

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:

import libui from 'libui-node'

const path = new libui.UiDrawPath( libui.fillMode.winding );

Alternatively, you can use the $libui property available in all Vuido components:

const path = new this.$libui.UiDrawPath( this.$libui.fillMode.winding );

For more information, see the .

libui-node documentation