vue3-ace-editor
Advanced tools
Comparing version 2.2.3 to 2.2.4
@@ -0,1 +1,2 @@ | ||
import { type Ace } from 'ace-builds'; | ||
import type { VAceEditorInstance } from './types'; | ||
@@ -29,2 +30,3 @@ export declare const VAceEditor: import("vue").DefineComponent<{ | ||
selectAll(this: VAceEditorInstance): void; | ||
getAceInstance(this: VAceEditorInstance): Ace.Editor; | ||
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
@@ -31,0 +33,0 @@ value: { |
@@ -15,2 +15,3 @@ import ace from 'ace-builds'; | ||
export const VAceEditor = defineComponent({ | ||
name: 'VAceEditor', | ||
props: { | ||
@@ -93,2 +94,5 @@ value: { | ||
}, | ||
getAceInstance() { | ||
return this._editor; | ||
}, | ||
}, | ||
@@ -95,0 +99,0 @@ watch: { |
@@ -19,2 +19,3 @@ import ace, { type Ace } from 'ace-builds'; | ||
export const VAceEditor = defineComponent({ | ||
name: 'VAceEditor', | ||
props: { | ||
@@ -95,2 +96,5 @@ value: { | ||
}, | ||
getAceInstance(this: VAceEditorInstance) { | ||
return this._editor; | ||
}, | ||
}, | ||
@@ -97,0 +101,0 @@ watch: { |
{ | ||
"name": "vue3-ace-editor", | ||
"version": "2.2.3", | ||
"version": "2.2.4", | ||
"description": "Like vue2-ace-editor but more functional and supports Vue 3", | ||
@@ -20,3 +20,3 @@ "main": "index.js", | ||
"devDependencies": { | ||
"typescript": "^5.1.6" | ||
"typescript": "^5.2.2" | ||
}, | ||
@@ -23,0 +23,0 @@ "scripts": { |
@@ -28,2 +28,3 @@ import { ComponentPublicInstance } from 'vue'; | ||
selectAll(): void; | ||
getAceInstance(): Ace.Editor; | ||
} | ||
@@ -30,0 +31,0 @@ |
Sorry, the diff of this file is not supported yet
20176
391