dochub-sdk 0.1.144 → 0.1.145
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/interfaces/ui.ts +6 -0
- package/package.json +1 -1
package/interfaces/ui.ts
CHANGED
@@ -108,6 +108,12 @@ export interface IDocHubUICopyClipboardOptions {
|
|
108
108
|
* Интерфейс управления UI компонентами для предопределенных слотов
|
109
109
|
*/
|
110
110
|
export interface IDocHubUI {
|
111
|
+
/**
|
112
|
+
* Короткое всплывающее сообщение
|
113
|
+
* @param message - Сообщение.
|
114
|
+
* @param timeout - Задержка в мс по умолчанию 3000
|
115
|
+
*/
|
116
|
+
toast(message: string, timeout?: number);
|
111
117
|
/**
|
112
118
|
* Регистрирует UI компонент в слоте
|
113
119
|
* @param slot - Идентификатор слота DocHubUISlot или произвольный для кастомных слотов
|