diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/frontend_api.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/frontend_api.md b/docs/frontend_api.md index f1edc0f..b40ae76 100644 --- a/docs/frontend_api.md +++ b/docs/frontend_api.md | |||
@@ -29,7 +29,7 @@ | |||
29 | - [safeParseInt(stringText)](#safeparseintstringtext) | 29 | - [safeParseInt(stringText)](#safeparseintstringtext) |
30 | - [Arguments](#arguments-8) | 30 | - [Arguments](#arguments-8) |
31 | - [Usage](#usage-8) | 31 | - [Usage](#usage-8) |
32 | - [isImage(url)](#isimageurl) | 32 | - [isImage(link)](#isimagelink) |
33 | - [Arguments](#arguments-9) | 33 | - [Arguments](#arguments-9) |
34 | - [Usage](#usage-9) | 34 | - [Usage](#usage-9) |
35 | - [setDialogTitle(title)](#setdialogtitletitle-1) | 35 | - [setDialogTitle(title)](#setdialogtitletitle-1) |
@@ -308,9 +308,9 @@ A utility method that can be used to safely parse the text content (handles null | |||
308 | Ferdium.safeParseInt(mySelector.innerText) | 308 | Ferdium.safeParseInt(mySelector.innerText) |
309 | ``` | 309 | ``` |
310 | 310 | ||
311 | ### isImage(url) | 311 | ### isImage(link) |
312 | 312 | ||
313 | A utility method that can be used to verify if a url is an image. Returns `true` if is image and `false` if it is not an image. | 313 | A utility method that can be used to verify if a link is an image. Returns `true` if is image and `false` if it is not an image. |
314 | 314 | ||
315 | #### Arguments | 315 | #### Arguments |
316 | 316 | ||
@@ -319,7 +319,7 @@ A utility method that can be used to verify if a url is an image. Returns `true` | |||
319 | #### Usage | 319 | #### Usage |
320 | 320 | ||
321 | ```JavaScript | 321 | ```JavaScript |
322 | Ferdium.isImage(url) | 322 | Ferdium.isImage(link) |
323 | ``` | 323 | ``` |
324 | 324 | ||
325 | ### setDialogTitle(title) | 325 | ### setDialogTitle(title) |