Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
qprofyeh
on Dec 14, 2014
|
parent
|
context
|
favorite
| on:
Focusable – Set a spotlight focus on DOM element
Create a 5th div that exactly overlays the focussed element, and give the overlay an inset box-shadow. (You may need to pass through mouse events programmatically.)
zzarcon
on Dec 14, 2014
|
next
[–]
That's sounds good and easy, and can accomplish the goal, I'll open a PR for try your approach, thanks!
RubyPinch
on Dec 14, 2014
|
prev
[–]
no need to manually handle clicks,
https://stackoverflow.com/questions/3680429/click-through-a-...
zzarcon
on Dec 14, 2014
|
parent
[–]
Yeah! is the approach I also follow in the library, you can check it here
https://github.com/zzarcon/focusable/blob/master/app/focus-e...
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: