Artur commited on
Commit
ca680f0
·
unverified ·
1 Parent(s): 124a216

Add programmatically destroy to api docs (#438)

Browse files
Files changed (1) hide show
  1. docs/src/content/guides/api.mdx +2 -0
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
  ```