🀄️ Osagai

  • Docs
Docs Menu
  • Getting Started
  • API reference
    • osagai
    • dom
    • events
    • lifecycles

API reference

Osagai is separated in different modules that you can import only what you need for implementing your custom element. These are the modules with a short description:

osagai

Main module with a function for defining your custom elements.

dom

Module with functions for manipulating the DOM tree of the custom element.

events

Module with functions for adding event listeners.

lifecycles

Module with functions for listening the lifecyles of the custom element.

Contribute on Github! Edit this section.