Skip to content
New issue

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

chore(demo): navigate example improvements #1101

Merged
merged 2 commits into from
Feb 26, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ hv_button_behavior: "back"
{% block content %}
{{ description('Tapping the button below will request an XML screen and push it onto the stack.') }}

{% call button('Navigate to home') -%}
<behavior action="navigate" href="/hyperview/public/index.xml" />
{% call button('Navigate forward') -%}
<behavior action="navigate" href="/hyperview/public/navigation/behaviors/actions/pushed.xml" />
{%- endcall %}

{% call button('Navigate with indicator') -%}
<behavior action="navigate" delay="1000" href="/hyperview/public/navigation/behaviors/actions/pushed.xml" show-during-load="loading-screen" />
<behavior action="navigate" href="/hyperview/public/navigation/behaviors/actions/pushed.xml" show-during-load="loading-screen" />
{%- endcall %}
{% endblock %}