@naersen/tts-rich-text 0.8.1 → 0.8.3
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.
- package/CHANGELOG.md +12 -0
- package/README.md +4 -0
- package/dist/base.css +1 -1
- package/dist/components/tts-editor-root/index.vue.d.ts +1 -0
- package/dist/components/tts-rich-text/editor/useRichTextEditor.d.ts +6 -0
- package/dist/components/tts-rich-text-editor/index.vue.d.ts +8 -2
- package/dist/index.js +1157 -1134
- package/dist/type/index.d.ts +4 -0
- package/package.json +1 -1
package/dist/type/index.d.ts
CHANGED
|
@@ -70,6 +70,10 @@ export interface TtsRichTextEditorProps {
|
|
|
70
70
|
features?: TtsEditorFeatures;
|
|
71
71
|
services?: TtsRichTextServices;
|
|
72
72
|
getPreviewParams?: () => Record<string, unknown>;
|
|
73
|
+
/**
|
|
74
|
+
* 获取用于预估时长的播放倍速,固定以 1 表示正常语速。
|
|
75
|
+
*/
|
|
76
|
+
getPlaybackSpeed?: () => number;
|
|
73
77
|
showSelectionMenu?: boolean;
|
|
74
78
|
showFullscreen?: boolean;
|
|
75
79
|
}
|