Artur
commited on
Add programmatically destroy to api docs (#438)
Browse files
docs/src/content/guides/api.mdx
CHANGED
@@ -60,4 +60,6 @@ driverObj.getState();
|
|
60 |
// Look at the DriveStep section of configuration for format of the step
|
61 |
// https://driverjs.com/docs/configuration/#drive-step-configuration
|
62 |
driverObj.highlight({ /* ... */ }); // Highlight an element
|
|
|
|
|
63 |
```
|
|
|
60 |
// Look at the DriveStep section of configuration for format of the step
|
61 |
// https://driverjs.com/docs/configuration/#drive-step-configuration
|
62 |
driverObj.highlight({ /* ... */ }); // Highlight an element
|
63 |
+
|
64 |
+
driverObj.destroy(); // Destroy the tour
|
65 |
```
|