(docs) tutorial index fixes
This commit is contained in:
parent
8aec99d4bd
commit
c0e6ccc782
|
@ -1196,7 +1196,7 @@ code-example(format="" language="html").
|
|||
<a id="expression-ops"></a>
|
||||
## Template Expression Operators
|
||||
The template expression language employs a subset of JavaScript syntax supplemented with some special operators
|
||||
for specific scenarios. We'll' cover two of them: "pipe" and "Elvis".
|
||||
for specific scenarios. We'll cover two of them, "pipe" and "Elvis".
|
||||
|
||||
<a id="pipe"></a>
|
||||
### The Pipe Operator ( | )
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
include ../../../../_includes/_util-fns
|
||||
|
||||
.l-main-section
|
||||
:markdown
|
||||
# Tour of Heroes: the vision
|
||||
|
||||
|
@ -36,31 +35,33 @@ include ../../../../_includes/_util-fns
|
|||
img(src='/resources/images/devguide/toh/heroes-dashboard-1.png' alt="Output of heroes dashboard")
|
||||
|
||||
:markdown
|
||||
Above the list are two links ("Dashboard" and "Heroes").
|
||||
We click them to navigate between this Dashboard view and a Heroes view.
|
||||
Above the dashboard are two links ("Dashboard" and "Heroes").
|
||||
We could click them to navigate between this Dashboard and a Heroes view.
|
||||
|
||||
We can click a hero to be transitioned by the router to a "Hero Details" view,
|
||||
where we can change the hero's name.
|
||||
Instead we click the dashboard hero named "Magneta" and the router takes us to a "Hero Details" view
|
||||
of that hero where we can change the hero's name.
|
||||
|
||||
figure.image-display
|
||||
img(src='/resources/images/devguide/toh/hero-details-1.png' alt="Details of hero in app")
|
||||
|
||||
:markdown
|
||||
Links at the top take us back to either of the main views.
|
||||
The "Back" button returns us to the "Dashboard" view.
|
||||
Links at the top can take us to either of the main views.
|
||||
We'll click the "Back" button which sends us to the "Heroes" master list view with
|
||||
"Magneta" as the selected hero.
|
||||
|
||||
figure.image-display
|
||||
img(src='/resources/images/devguide/toh/heroes-list-1.png' alt="Output of heroes list app")
|
||||
|
||||
:markdown
|
||||
Above the Dashboard are two links ("Dashboard" and "Heroes").
|
||||
We click them to navigate between a Dashboard view and this Heroes view.
|
||||
We click a different hero and the readonly mini-detail beneath the list reflects our new choice.
|
||||
|
||||
We can click the "Heroes" link and be wisked away by the router to
|
||||
a "Heroes" view where we can see a list of our heroes.
|
||||
We click the "View Details" button to drill into the
|
||||
editable details of our selected hero.
|
||||
|
||||
We can click a hero and have the router race us over to a "Hero Details" view
|
||||
again.
|
||||
The following diagram captures all of our navigation options.
|
||||
|
||||
figure.image-display
|
||||
img(src='/resources/images/devguide/toh/nav-diagram.png' alt="View navigations")
|
||||
|
||||
.l-main-section
|
||||
:markdown
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 15 KiB |
Binary file not shown.
After Width: | Height: | Size: 55 KiB |
Loading…
Reference in New Issue