# elsa-modal-dialog



<!-- Auto Generated Below -->


## Properties

| Property         | Attribute       | Description | Type      | Default     |
| ---------------- | --------------- | ----------- | --------- | ----------- |
| `editorHeight`   | `editor-height` |             | `string`  | `'5em'`     |
| `language`       | `language`      |             | `string`  | `undefined` |
| `padding`        | `padding`       |             | `string`  | `undefined` |
| `singleLineMode` | `single-line`   |             | `boolean` | `false`     |
| `value`          | `value`         |             | `string`  | `undefined` |


## Events

| Event          | Description | Type                                  |
| -------------- | ----------- | ------------------------------------- |
| `valueChanged` |             | `CustomEvent<MonacoValueChangedArgs>` |


## Methods

### `addJavaScriptLib(libSource: string, libUri: string) => Promise<void>`



#### Returns

Type: `Promise<void>`



### `setValue(value: string) => Promise<void>`



#### Returns

Type: `Promise<void>`




## Dependencies

### Used by

 - [elsa-expression-editor](../../editors/elsa-expression-editor)
 - [elsa-json-property](../../editors/properties/elsa-json-property)
 - [elsa-script-property](../../editors/properties/elsa-script-property)
 - [elsa-workflow-settings-modal](../../screens/workflow-definition-editor/elsa-workflow-settings-modal)

### Graph
```mermaid
graph TD;
  elsa-expression-editor --> elsa-monaco
  elsa-json-property --> elsa-monaco
  elsa-script-property --> elsa-monaco
  elsa-workflow-settings-modal --> elsa-monaco
  style elsa-monaco fill:#f9f,stroke:#333,stroke-width:4px
```

----------------------------------------------

*Built with [StencilJS](https://stenciljs.com/)*
