Skip to content

Commit ca680f0

Browse files
Add programmatically destroy to api docs (#438)
1 parent 124a216 commit ca680f0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/src/content/guides/api.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,6 @@ driverObj.getState();
6060
// Look at the DriveStep section of configuration for format of the step
6161
// https://driverjs.com/docs/configuration/#drive-step-configuration
6262
driverObj.highlight({ /* ... */ }); // Highlight an element
63+
64+
driverObj.destroy(); // Destroy the tour
6365
```

0 commit comments

Comments
 (0)