Skip to content

Commit

Permalink
Update doc & version
Browse files Browse the repository at this point in the history
  • Loading branch information
danipv committed Jun 2, 2021
1 parent 41a9687 commit a5a78cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
13 changes: 2 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ Creates a new object with a html element and a set of options. An iframe is dyna

*Methods can be chained and can be called in whatever order.*

| [load](#loadurl-string) | [preload](#preloadurl-string) | [openDrawer](#opendrawer) | [closeDrawer](#closedrawer) | [loading](#loading(active-boolean))
|-----|-----|-----|-----|-----|
| [load](#loadurl-string) | [openDrawer](#opendrawer) | [closeDrawer](#closedrawer) | [loading](#loading(active-boolean))
|-----|-----|-----|-----|

#### load(url: string)

Expand All @@ -77,15 +77,6 @@ vtaugment.load("...").openDrawer()

```

#### preload(url: string)

Load the html and cache it ready to show the content as soon as you call the `load` method. Typically this method is used linked to a `mouseover` event in the link or the surrounded area of the link.

```js
vtaugment.preload("...")

```

#### openDrawer()

Open a drawer panel from the right side. (Only works in [drawer](#drawer) mode)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@virustotal/vt-augment",
"version": "1.5.5",
"version": "1.6.0",
"description": "Client library that wraps common patterns when interact with the VirusTotal Augment product",
"main": "dist/vt-augment.min.js",
"keywords": [
Expand Down

0 comments on commit a5a78cf

Please sign in to comment.