API

The Xopus API allows integrators to customize Xopus. This ranges from configuring Xopus to save documents to building custom user interfaces on top of Xopus.

The Xopus API can be accessed in several ways.

  • Each Xopus Canvas can contain javascript elements that reference script files which will be executed when the canvas is activated.

  • XSL Stylesheets can output HTML event handlers that can access the Xopus API. See Use Events and Use The API for more information.

  • Through the global configuration script in: xopus/config/config.js This script will be executed when Xopus is started and before any document is loaded.

API Reference

DOM API

The Xopus implementation of W3C DOM standard objects and methods and our extensions.

Global objects API

Xopus specific objects and methods.