Comments (8)
You can use it by simply importing as you would do with any other library.
For a react wrapper, we have it planned, hopefully in the coming weekend.
Just want to finish this rewrite before we start with the wrappers.
from driver.js.
@roelvan could you please try now? there was an issue with main
definition in package.json
. It should be fixed now
from driver.js.
I am having a Babel import problem, any idea how to use this? I am using Vue client and this is my import statement: import Driver from 'driver.js'
. My error:
This dependency was not found:
* driver.js in ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"/Users/roel/Repos/dsmtw-v2-engine/node_modules/.cache/cache-loader"}!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/components/lobby.vue
To install it, you can run: npm install --save driver.js
from driver.js.
You can
import Driver from 'driver.js/dist/driver.min.js'
from driver.js.
@roelvan could you please try now? there was an issue with main definition in package.json. It should be fixed now
Yep that did the trick. Now it works.
from driver.js.
Cool, thanks
from driver.js.
It's disappearing when life cycle render the main component.
from driver.js.
I've used driver.js with require
in an ES Module project and it worked very well. Try it, if it's working then there's no need to use the import
syntax.
from driver.js.
Related Issues (20)
- 怎么在点击关闭按钮,关闭整个程序。 HOT 3
- How to get the event of the close button HOT 4
- How to add a class to the overlay HOT 1
- description中的div添加onClick事件不生效 HOT 1
- Allow selectively skipping elements so that the "driver-fix-stacking" class won't get applied HOT 6
- Add `destroy` method API HOT 1
- How can I do something on the popover HOT 2
- How to use two steps on same element? HOT 1
- Is it possible to make the popups draggable/movable by the user? HOT 1
- highlight element not showing in side navbar HOT 4
- highlight element not showing when the parent element sets position: fiexd HOT 1
- The highlighted area scrolls HOT 1
- is still maintained? HOT 2
- setSteps() is not accepting any args - some inconsistency in function definition HOT 1
- Uncaught Error: There are no steps defined to iterate HOT 3
- Roadmap — v1.0 HOT 1
- Is there guide for moving from 0.x to 1.x? HOT 2
- driver.setConfig appears to wipe out any existing config HOT 2
- The boot process is confusing? HOT 8
- Element is focused before highlight moves, using callbacks correctly. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from driver.js.