mirror of
https://github.com/kamranahmedse/driver.js.git
synced 2026-10-31 03:52:13 +08:00
@@ -46,7 +46,7 @@ driverObj.highlight({
|
||||
If you are using the CDN, you will have to use the package from the `window` object:
|
||||
|
||||
```js
|
||||
const driver = window.driver.js.driver();
|
||||
const driver = window.driver.js.driver;
|
||||
|
||||
const driverObj = driver();
|
||||
driver.highlight({
|
||||
@@ -58,4 +58,4 @@ driver.highlight({
|
||||
});
|
||||
```
|
||||
|
||||
Continue reading the [Getting Started](/docs/basic-usage) guide to learn more about the package.
|
||||
Continue reading the [Getting Started](/docs/basic-usage) guide to learn more about the package.
|
||||
Reference in New Issue
Block a user