mirror of
https://github.com/kamranahmedse/driver.js.git
synced 2026-08-31 01:12:43 +08:00
docs: Installation CDN example fix (#417)
This commit is contained in:
@@ -49,7 +49,8 @@ If you are using the CDN, you will have to use the package from the `window` obj
|
||||
const driver = window.driver.js.driver;
|
||||
|
||||
const driverObj = driver();
|
||||
driver.highlight({
|
||||
|
||||
driverObj.highlight({
|
||||
element: "#some-element",
|
||||
popover: {
|
||||
title: "Title",
|
||||
|
||||
Reference in New Issue
Block a user