aboutsummaryrefslogtreecommitdiffstats
path: root/docs/frontend_api.md
diff options
context:
space:
mode:
authorLibravatar Iaroslav <yavoloh@mail.ru>2021-10-23 19:13:55 +0500
committerLibravatar GitHub <noreply@github.com>2021-10-23 19:43:55 +0530
commit591a9a4ca229dcda6e54d4e24f79dfef14d0acc5 (patch)
tree8676eb01fe567fb96c8220459746d55cc3dbf12a /docs/frontend_api.md
parentfix for #286 with fallback (#738) (diff)
downloadferdium-recipes-591a9a4ca229dcda6e54d4e24f79dfef14d0acc5.tar.gz
ferdium-recipes-591a9a4ca229dcda6e54d4e24f79dfef14d0acc5.tar.zst
ferdium-recipes-591a9a4ca229dcda6e54d4e24f79dfef14d0acc5.zip
Add setDialogTitle feature to api, WhatsApp and Telegram (#750)
Co-authored-by: Vijay A <vraravam@users.noreply.github.com>
Diffstat (limited to 'docs/frontend_api.md')
-rw-r--r--docs/frontend_api.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/frontend_api.md b/docs/frontend_api.md
index aa1070b..bd0bfef 100644
--- a/docs/frontend_api.md
+++ b/docs/frontend_api.md
@@ -34,6 +34,22 @@ Ferdi.setBadge(4, 2);
34Ferdi.setBadge(3); 34Ferdi.setBadge(3);
35``` 35```
36 36
37### setDialogTitle(title)
38
39Sets the active dialog title to the app title
40
41#### Arguments
42
431. `string` title
44
45- sets the active dialog title eg. WhatsApp contact name
46
47#### Usage
48
49```js
50Ferdi.setDialogTitle('Dialog title');
51```
52
37### injectCSS(pathToCssFile) 53### injectCSS(pathToCssFile)
38 54
39Injects the contents of one or more CSS files into the current webview 55Injects the contents of one or more CSS files into the current webview