Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-monaco

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-monaco - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

12

dist/vue-monaco.common.js

@@ -18,3 +18,4 @@ 'use strict';

language: String,
options: Object
options: Object,
placeholder: null
},

@@ -26,2 +27,8 @@

data: function data() {
return {
editorLoaded: false
}
},
watch: {

@@ -67,2 +74,3 @@ options: {

window.require(['vs/editor/editor.main'], function () {
this$1.editorLoaded = true;
this$1.editor = window.monaco.editor.create(this$1.$el, options);

@@ -121,3 +129,3 @@ this$1.$emit('editorMount', this$1.editor);

render: function render(h) {
return h('div')
return h('div', null, this.editorLoaded ? null : this.placeholder)
}

@@ -124,0 +132,0 @@ };

@@ -35,3 +35,4 @@ (function (global, factory) {

language: String,
options: Object
options: Object,
placeholder: null
},

@@ -43,2 +44,8 @@

data: function data() {
return {
editorLoaded: false
}
},
watch: {

@@ -84,2 +91,3 @@ options: {

window.require(['vs/editor/editor.main'], function () {
this$1.editorLoaded = true;
this$1.editor = window.monaco.editor.create(this$1.$el, options);

@@ -138,3 +146,3 @@ this$1.$emit('editorMount', this$1.editor);

render: function render(h) {
return h('div')
return h('div', null, this.editorLoaded ? null : this.placeholder)
}

@@ -141,0 +149,0 @@ };

2

package.json
{
"name": "vue-monaco",
"version": "0.1.3",
"version": "0.1.4",
"description": "MonacoEditor component for Vue.js",

@@ -5,0 +5,0 @@ "repository": {

@@ -71,2 +71,3 @@ # vue-monaco

- `options`
- `placeholder`: Display a placeholder until the monaco editor is loaded. Could a string or vNode.

@@ -73,0 +74,0 @@ ### Events

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc