@xn-lib/component 0.1.16 → 0.1.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import type { CaretPosition } from '../types';
|
|
2
|
+
declare function setLineClass(lineIndex: number, className: string | string[] | undefined): void;
|
|
3
|
+
declare function setLineStyle(lineIndex: number, style: Partial<CSSStyleDeclaration> | undefined): void;
|
|
2
4
|
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
5
|
readonly modelValue: {
|
|
4
6
|
readonly type: import("vue").PropType<import("../types").EditableTextareaModelValue>;
|
|
@@ -81,6 +83,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
81
83
|
blur: () => void | undefined;
|
|
82
84
|
getCaretPosition: () => CaretPosition | null;
|
|
83
85
|
setCaretPosition: (position: CaretPosition) => void;
|
|
86
|
+
setLineClass: typeof setLineClass;
|
|
87
|
+
setLineStyle: typeof setLineStyle;
|
|
84
88
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
85
89
|
input: (value: string) => void;
|
|
86
90
|
"update:modelValue": (value: import("../types").EditableTextareaModelValue) => void;
|