DQLEditor
The DQLEditor is specifically designed for editing DQL queries.
It further offers syntax highlighting and autocomplete functionality specific to the Dynatrace Query Language (DQL). Once the editor is focused via the keyboard, the user must press Enter to start editing and Escape to quit editing and return to the keyboard navigation flow.
DQLEditorProps
Signature:
export declare type DQLEditorProps = <, | | > & ( | ) & ;DQLEditor.ActionsMenu
The DQLEditor.ActionsMenu slot component does not accept any props. Rendering it as a child of DQLEditor enables the built-in actions menu.
DQLEditor.Download
DQLEditor slot definition for the "Download" action.
EditorDownloadProps
| Name | Type | Default | Description |
|---|---|---|---|
fileName? | | Name of the downloaded file. If no extension is provided, it is derived
from the editor. Both the filename and extension are sanitized to keep
only letters, digits, | |
onDownload? | () => | | Callback fired when the download action is triggered. |