@veltdev/sdk 1.0.15 → 1.0.16
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/app/client/snippyly.model.d.ts +23 -0
- package/package.json +1 -1
- package/velt.js +2 -2
|
@@ -143,4 +143,27 @@ export declare class Snippyly {
|
|
|
143
143
|
* To remove velt specific content from provided html content.
|
|
144
144
|
*/
|
|
145
145
|
removeVeltContent: (htmlContent: string) => string;
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* To set the language.
|
|
149
|
+
* @param language Language code
|
|
150
|
+
*/
|
|
151
|
+
setLanguage: (language: string) => void;
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* To set the translations for the language.
|
|
155
|
+
* @param language Language code
|
|
156
|
+
* @param translations Translations object
|
|
157
|
+
*/
|
|
158
|
+
setTranslations: (language: string, translations: { [key: string]: string }) => void;
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* To enable auto translation.
|
|
162
|
+
*/
|
|
163
|
+
enableAutoTranslation: () => void;
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* To disable auto translation.
|
|
167
|
+
*/
|
|
168
|
+
disableAutoTranslation: () => void;
|
|
146
169
|
}
|