mirror of
https://github.com/kamranahmedse/driver.js.git
synced 2026-10-31 03:52:13 +08:00
Update readme
This commit is contained in:
@@ -28,7 +28,7 @@ Alternatively, you can use CDN and include the script in your HTML file:
|
||||
Once installed, you can import the package in your project. The following example shows how to highlight an element:
|
||||
|
||||
```js
|
||||
import driver from "driver.js";
|
||||
import { driver } from "driver.js";
|
||||
import "driver.js/dist/driver.css";
|
||||
|
||||
const driverObj = driver();
|
||||
|
||||
Reference in New Issue
Block a user