# Built-in library

## Overview

The HTML Canvas built-in library is the core interface for interacting with dashboard data and the Ubidots API:

* Access the class [properties](/dashboards-and-widgets/html-canvas/built-in-library/properties.md) to read or update dashboard settings.
* Use the class [methods](/dashboards-and-widgets/html-canvas/built-in-library/methods.md) to perform actions in the dashboard or retrieve data from it.
* Register logic with the `on` event handler when dashboard events occur. See [Listening events](/dashboards-and-widgets/html-canvas/built-in-library/listening-events.md).
* Interact directly with the [API](https://docs.ubidots.com/reference/welcome) through the [Ubidots JavaScript SDK](/dashboards-and-widgets/html-canvas/built-in-library/api.md).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dev.ubidots.com/dashboards-and-widgets/html-canvas/built-in-library.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
