Comments (7)
Hey @jimmiejackson414, you meant adding padding and border radius to the corners of the overlay element as in SS below?
If so, it is just an SVG actually. If you want, I could try to add options for rounding corners and adding padding etc
This is the SVG overlay implementation: https://github.com/fatihsolhan/v-onboarding/blob/main/src/composables/useSvgOverlay.ts#L14
from v-onboarding.
@fatihsolhan yes that's correct, that would be incredible!
from v-onboarding.
You can now add padding and border-radius to overlay element.
See overlay
option: https://v-onboarding-docs.fatihsolhan.com/props/options
from v-onboarding.
Works beautifully, thanks a ton!
from v-onboarding.
Hi, @jimmiejackson414 thank you for your interest in v-onboarding
❤️
We have an attachTo.classList
option in steps
, you could add some classes to style highlighted element.
See: https://v-onboarding-docs.fatihsolhan.com/props/steps
Please let me know if it helps
from v-onboarding.
I'd noticed that and tried styling it with that route, but adding things like padding messed with the layout quite a bit. I think I was mostly unsure of whether it was creating a new DOM element over the top of the element itself, and whether I could style that new DOM element but it doesn't sound like that's the case. I'll give this another shot, thanks!
from v-onboarding.
🎉 This issue has been resolved in version 2.0.0 🎉
The release is available on:
Your semantic-release bot 📦🚀
from v-onboarding.
Related Issues (20)
- Enabling OverlayInteraction does not prevent click events from being blocked
- Focus on element not working correctly after navigation/redirection
- Ability to track moving target element? HOT 1
- Ability to control where the overlay pops up HOT 2
- `preventOverlayInteraction` doesn't remove all blocking listeners HOT 2
- Add delay and hide / autoHide HOT 3
- Add indicator for previous click HOT 2
- Dialog placement HOT 1
- V-HTML HOT 3
- toRefs expects a reactive object but received a plain one HOT 1
- Inaccessible panel — Off the bottom of the screen HOT 4
- A11y issue - focus should move to the onboarding card when start() is called HOT 4
- Vue app is crashing. Uncaught TypeError: Object(...) is not a function HOT 4
- Attributes as selector HOT 1
- Rectangular highlight area is offset from the target element HOT 2
- Could not find a declaration file for module 'v-onboarding' HOT 5
- vue__WEBPACK_IMPORTED_MODULE_1__.createElementVNode) is not a function HOT 2
- Could not find a declaration file for module 'v-onboarding' HOT 9
- Overlay doesnt cover screen when css attribute zoom < 1 is applied on parent
- Cannot focus to the attached element input after version 2.7.0
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 v-onboarding.