Allow 'Element' type for arrows
See original GitHub issueFirst off, thanks for the library!
Currently, the arrows prop allows object with keys prev and next which both must be string. However, per the Glider.js documentation, element instances can be passed here as well instead of the selectors. See https://nickpiscitelli.github.io/Glider.js/ -> Settings -> arrows
It’d be great if this library took that into account as well
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:5 (2 by maintainers)
 Top Results From Across the Web
Top Results From Across the Web
div element with arrow - css - Stack Overflow
I'm trying to show a div element which has an indication arrow pointing to the top right. I'm using CSS and HTML.
Read more >How To Put Arrows at the Bottom of a Div - DEV Community     
First you'll start by using the pseudo-class selector, :after. Inside of the selector, you need to set a value for the content property....
Read more >Arrow function expressions - JavaScript - MDN Web Docs
An arrow function expression is a compact alternative to a traditional function expression, with some semantic differences and deliberate ...
Read more >Forms: The Complete Guide-Part 2 - Boxes and Arrows
As you type in the input, a dropdown list shows you matching options. You can click on an option or use the arrow...
Read more >How to Select Elements - The Arrow Tool
In this article, you can learn how you can select one or more elements in 2D and what methods are available to do...
Read more > Top Related Medium Post
Top Related Medium Post
No results found
 Top Related StackOverflow Question
Top Related StackOverflow Question
No results found
 Troubleshoot Live Code
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free Top Related Reddit Thread
Top Related Reddit Thread
No results found
 Top Related Hackernoon Post
Top Related Hackernoon Post
No results found
 Top Related Tweet
Top Related Tweet
No results found
 Top Related Dev.to Post
Top Related Dev.to Post
No results found
 Top Related Hashnode Post
Top Related Hashnode Post
No results found

I messed around with this issue here: https://github.com/yashvesikar/react-glider/commit/fc742b3af6327144cba2568510d8734a9d4e464d does this seem like an acceptable solution to the problem?
Thanks for any input 😃 I can make a PR if it looks good. @kevinfarrugia @hipstersmoothie
🚀 Issue was released in
v3.0.0🚀