banner for dart and image fix
This commit is contained in:
parent
f3eb6b8eaa
commit
58e607e873
@ -1,4 +1,6 @@
|
|||||||
content = banner ? banner : intro
|
if banner
|
||||||
|
.banner
|
||||||
.banner
|
p.text-body !{banner}
|
||||||
p.text-body !{content}
|
else if intro
|
||||||
|
.banner
|
||||||
|
p.text-body !{intro}
|
@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"_listtype": "ordered",
|
"_listtype": "ordered",
|
||||||
|
|
||||||
"setup": {
|
"setup": {
|
||||||
"title": "Getting Started"
|
"title": "Getting Started"
|
||||||
},
|
},
|
||||||
@ -9,8 +10,10 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
"displaying-data": {
|
"displaying-data": {
|
||||||
"title": "Displaying Data"
|
"title": "Displaying Data",
|
||||||
|
"intro": "Displaying data is job number one for any good application. In Angular, you bind data to elements in HTML templates, and Angular automatically updates the UI as data changes."
|
||||||
},
|
},
|
||||||
|
|
||||||
"user-input": {
|
"user-input": {
|
||||||
"title": "User Input"
|
"title": "User Input"
|
||||||
},
|
},
|
||||||
|
@ -7,9 +7,7 @@ html(lang="en" ng-app="angularIOApp")
|
|||||||
!= partial("../../../../_includes/_main-nav")
|
!= partial("../../../../_includes/_main-nav")
|
||||||
!= partial("../../../../_includes/_docs-nav")
|
!= partial("../../../../_includes/_docs-nav")
|
||||||
!= partial("../../../../_includes/_hero")
|
!= partial("../../../../_includes/_hero")
|
||||||
|
!= partial("../../../../_includes/_banner")
|
||||||
if banner
|
|
||||||
!= partial("../../../../_includes/_banner")
|
|
||||||
|
|
||||||
article.l-content-small.grid-fluid.docs-content(ng-non-bindable)
|
article.l-content-small.grid-fluid.docs-content(ng-non-bindable)
|
||||||
!= yield
|
!= yield
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 6.5 KiB |
@ -1,14 +1,9 @@
|
|||||||
.l-main-section
|
.l-main-section
|
||||||
p.
|
|
||||||
Displaying data is job number one for any good application.
|
|
||||||
In Angular, you bind data to elements in HTML
|
|
||||||
templates, and Angular automatically updates the UI as data changes.
|
|
||||||
p.
|
p.
|
||||||
Let's walk through how to display a property and a list of properties,
|
Let's walk through how to display a property and a list of properties,
|
||||||
and then to conditionally show content
|
and then to conditionally show content
|
||||||
based on state.
|
based on state. The final UI looks like this:
|
||||||
p.
|
|
||||||
The final UI looks like this:
|
|
||||||
figure.image-display
|
figure.image-display
|
||||||
img(src='displaying-data-example1.png')
|
img(src='displaying-data-example1.png')
|
||||||
|
|
||||||
|
@ -7,8 +7,7 @@ html(lang="en" ng-app="angularIOApp")
|
|||||||
!= partial("../../../../_includes/_main-nav")
|
!= partial("../../../../_includes/_main-nav")
|
||||||
!= partial("../../../../_includes/_docs-nav")
|
!= partial("../../../../_includes/_docs-nav")
|
||||||
!= partial("../../../../_includes/_hero")
|
!= partial("../../../../_includes/_hero")
|
||||||
if intro || banner
|
!= partial("../../../../_includes/_banner")
|
||||||
!= partial("../../../../_includes/_banner")
|
|
||||||
|
|
||||||
article.l-content-small.grid-fluid.docs-content(ng-non-bindable)
|
article.l-content-small.grid-fluid.docs-content(ng-non-bindable)
|
||||||
!= yield
|
!= yield
|
||||||
|
Loading…
x
Reference in New Issue
Block a user