I'm excited to announce a new feature in Navbar Card: route items now support an optional tap_action
property! 🎉
What's New?
You can now configure the behavior of each route item using the new tap_action property. With this, you have more flexibility and control over what happens when a route item is tapped or clicked.
How It Works:
- Old Behavior (Backward Compatible):
- If you only use the
url
property (as before) and don't define atap_action
, the card works as it always has. - Clicking a route item navigates to the specified URL.
- If you only use the
- New Behavior with
tap_action
:- If you define a
tap_action
, the default navigation behavior is disabled. - You can configure any action you want, based on the official documentation
- If you define a
Changes in this release
Features
- New
tap_action
configuration for each route - Minimal hover effect for each route item
- Improve configuration checking when setting up the card
Full Changelog: v0.0.6...v0.0.7