aboutsummaryrefslogtreecommitdiffstats
path: root/docs/frontend_api.md
diff options
context:
space:
mode:
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