We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Swiper API has hash navigation built in and it can be enabled with the following config parameters on swipe-card:
type: custom:swipe-card parameters: slidesPerView: auto hashNavigation: watchState: true
This works as it should if I manually add data-hash="[my-hash-value]" to the class of the desired slide through chrome dev tools:
data-hash="[my-hash-value]"
and then use javascript to set the hash: window.location.hash = 'testhash'; Swipe card transitions to that specific slide.
window.location.hash = 'testhash';
Would it be possible to add an option/field to define a hash value per card?
for eg:
type: custom:swipe-card parameters: slidesPerView: auto hashNavigation: watchState: true cards: - type: vertical-stack hash: my-hash-value
thanks!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The Swiper API has hash navigation built in and it can be enabled with the following config parameters on swipe-card:
This works as it should if I manually add
data-hash="[my-hash-value]"
to the class of the desired slide through chrome dev tools:and then use javascript to set the hash:
window.location.hash = 'testhash';
Swipe card transitions to that specific slide.Would it be possible to add an option/field to define a hash value per card?
for eg:
thanks!
The text was updated successfully, but these errors were encountered: