File tree 8 files changed +49
-7
lines changed
8 files changed +49
-7
lines changed Original file line number Diff line number Diff line change 2
2
permalink: "/navigation/behaviors/actions/modal/index.xml"
3
3
tags: "Navigation/Behaviors/Actions"
4
4
hv_title: "Modal"
5
- hv_button_behavior: "back"
5
+ hv_button_behavior: "close"
6
+ hv_open_modal: "true"
6
7
---
7
8
{% extends ' templates/scrollview.xml.njk' %}
8
9
{% from ' macros/description/index.xml.njk' import description %}
@@ -12,10 +13,10 @@ hv_button_behavior: "back"
12
13
{{ description (' Open a new modal screen' ) }}
13
14
14
15
{% call button (' Open another modal' ) -%}
15
- <behavior action =" new" delay = " 1000 " href =" /hyperview/public/navigation/behaviors/actions/modal/index .xml" show-during-load =" loading-screen" />
16
+ <behavior action =" new" href =" /hyperview/public/navigation/behaviors/actions/modal/modal-1 .xml" show-during-load =" loading-screen" />
16
17
{%- endcall %}
17
18
18
19
{% call button (' Push on the stack' ) -%}
19
- <behavior action =" push" href =" /hyperview/public/navigation/behaviors/actions/modal/index .xml" />
20
+ <behavior action =" push" href =" /hyperview/public/navigation/behaviors/actions/modal/push-1 .xml" />
20
21
{%- endcall %}
21
22
{% endblock %}
Original file line number Diff line number Diff line change
1
+ ---
2
+ permalink: "/navigation/behaviors/actions/modal/modal-1.xml"
3
+ hv_title: "Modal Screen 1"
4
+ hv_button_behavior: "close"
5
+ ---
6
+ {% from ' macros/description/index.xml.njk' import description %}
7
+ {% extends ' templates/scrollview.xml.njk' %}
8
+
9
+ {% block content %}
10
+ {{ description (' This screen was dynamically opened as a modal.' ) }}
11
+ {% endblock %}
Original file line number Diff line number Diff line change
1
+ ---
2
+ permalink: "/navigation/behaviors/actions/modal/push-1.xml"
3
+ hv_title: "Push Screen 1"
4
+ hv_button_behavior: "back"
5
+ ---
6
+ {% from ' macros/button/index.xml.njk' import button %}
7
+ {% from ' macros/description/index.xml.njk' import description %}
8
+ {% extends ' templates/scrollview.xml.njk' %}
9
+
10
+ {% block content %}
11
+ {{ description (' This screen was dynamically pushed on the stack.' ) }}
12
+ {{ description (' Pushing the button below will push another screen onto the stack.' ) }}
13
+ {% call button (' Push on stack' ) -%}
14
+ <behavior
15
+ action =" push"
16
+ href =" /hyperview/public/navigation/behaviors/actions/modal/push-2.xml"
17
+ />
18
+ {%- endcall %}
19
+ {% endblock %}
Original file line number Diff line number Diff line change
1
+ ---
2
+ permalink: "/navigation/behaviors/actions/modal/push-2.xml"
3
+ hv_title: "Push Screen 2"
4
+ hv_button_behavior: "back"
5
+ ---
6
+ {% from ' macros/description/index.xml.njk' import description %}
7
+ {% extends ' templates/scrollview.xml.njk' %}
8
+
9
+ {% block content %}
10
+ {{ description (' This screen was dynamically pushed on the stack.' ) }}
11
+ {% endblock %}
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ hv_button_behavior: "close"
8
8
{% extends ' templates/scrollview.xml.njk' %}
9
9
10
10
{% block content %}
11
- {{ description (' This screen was dynamically opened on the stack .' ) }}
11
+ {{ description (' This screen was dynamically opened as a modal .' ) }}
12
12
{{ description (' Pushing the button below will push another screen onto the stack.' ) }}
13
13
{% call button (' Push on stack' ) -%}
14
14
<behavior
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ hv_button_behavior: "back"
8
8
{% extends ' templates/scrollview.xml.njk' %}
9
9
10
10
{% block content %}
11
- {{ description (' This screen was dynamically opened on the stack .' ) }}
11
+ {{ description (' This screen was dynamically opened as a modal .' ) }}
12
12
{% call button (' Back to beginning' ) -%}
13
13
<behavior
14
14
action =" close"
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ hv_button_behavior: "back"
8
8
{% extends ' templates/scrollview.xml.njk' %}
9
9
10
10
{% block content %}
11
- {{ description (' This screen was dynamically opened on the stack.' ) }}
11
+ {{ description (' This screen was dynamically pushed on the stack.' ) }}
12
12
{{ description (' Pushing the button below will push another screen onto the stack.' ) }}
13
13
{% call button (' Push on stack' ) -%}
14
14
<behavior
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ hv_button_behavior: "back"
8
8
{% extends ' templates/scrollview.xml.njk' %}
9
9
10
10
{% block content %}
11
- {{ description (' This screen was dynamically pushed to the stack.' ) }}
11
+ {{ description (' This screen was dynamically pushed on the stack.' ) }}
12
12
{% call button (' Back to beginning' ) -%}
13
13
<behavior
14
14
action =" navigate"
You can’t perform that action at this time.
0 commit comments