Console Reference: c3Explore
Use the c3Explore function to examine data in a modal without leaving your current context. The modal provides a few controls for interacting with your value:
- Download: Download the value as a file in one of the following formats:
- JSON
- YAML
- Type DSL
- string
- Copy: Copy the value to your clipboard in one of the following formats:
- JSON
- YAML
- Type DSL
- string
- Debug: Log the value to your browser console.
Parameters
| Name | Required | Type | Description |
|---|---|---|---|
data | ✓ | any | A value or type you want to examine |
data can be any value type, from primitives (for example, strings and booleans) to more complex objects.
Examples
View information about a Type:
JavaScript
c3Explore(MyCustomType); // replace MyCustomType with a reference to your TypeView information about a JavaScript object:
JavaScript
c3Explore({ title: "A JavaScript object" });