shadowaya / anchor-card Goto Github PK
View Code? Open in Web Editor NEWAn anchor (scroll to) card for Home Assistant!
An anchor (scroll to) card for Home Assistant!
As the title says, if you're making use of the remove_anchor
option, it leaves the question mark '?' in the URL. Mainly cosmetic, but I thought it was worth mentioning.
It reloads the page instead of simply scrolling to the relevant card.
The delay feature tries to help waiting for the 'reload' but variability on the view's cards speed of refresh make it unreliable or feel incredibly unresponsive.
Nice idea but currently unusable for me.
Hi.
I've been using this custom card for a few days now, but I'm having the following problem:
I have an icon at the top of my dashboard to scroll to a specifc card. It's working as expected. The problem is that when I change de view, the query string used to navigate to the card before goes with this new URL. So when I go back to the previous view, it scrolls automaticaly to the card I navigated before. I expected that when I exited the view, the query string would not be joined.
Do you have any idea how to solve this problem?
Thanks in advance.
I am not sure if this is intentional and needed in order for Home Assistant to parse the integration, but rather than using https://www.address.com/page?anchor=anchor_name
the normal format for accessing an anchor is https://www.address.com/page#anchor_name
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.