vue-monaco
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -84,2 +84,3 @@ import assign from 'nano-assign'; | ||
this.$emit('editorWillMount', this.monaco); | ||
var options = assign({ | ||
@@ -86,0 +87,0 @@ value: this.value, |
@@ -106,2 +106,3 @@ (function (global, factory) { | ||
this.$emit('editorWillMount', this.monaco); | ||
var options = nanoAssign_common({ | ||
@@ -108,0 +109,0 @@ value: this.value, |
{ | ||
"name": "vue-monaco", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "MonacoEditor component for Vue.js", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -140,5 +140,13 @@ # vue-monaco | ||
- `amdRequire`: Load monaco-editor using given amd-style require function. | ||
- `diffEditor`: `boolean` Indicate that this is a DiffEditor, `false` by default. | ||
### Component Events | ||
#### `editorWillMount` | ||
- Params: | ||
- `monaco`: [`monaco module`](https://microsoft.github.io/monaco-editor/api/index.html) | ||
Called before mounting the editor. | ||
#### `editorDidMount` | ||
@@ -149,3 +157,3 @@ | ||
Editor is created. | ||
Called when the editor is mounted. | ||
@@ -152,0 +160,0 @@ #### `change` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17382
269
232