From ca680f04e1f4ebc62ce6fa6c13170a88abbcd097 Mon Sep 17 00:00:00 2001 From: Artur Date: Sun, 5 Nov 2023 01:54:10 +0300 Subject: [PATCH] Add programmatically destroy to api docs (#438) --- docs/src/content/guides/api.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/src/content/guides/api.mdx b/docs/src/content/guides/api.mdx index 6c4e7f5..a9515ca 100644 --- a/docs/src/content/guides/api.mdx +++ b/docs/src/content/guides/api.mdx @@ -60,4 +60,6 @@ driverObj.getState(); // Look at the DriveStep section of configuration for format of the step // https://driverjs.com/docs/configuration/#drive-step-configuration driverObj.highlight({ /* ... */ }); // Highlight an element + +driverObj.destroy(); // Destroy the tour ``` \ No newline at end of file