Get the code with git clone git://github.com/dzenanr/web_links.git
command. We start our discussion with the first spiral in the web_links\web_links_s01
project.
In this spiral, we just show a web component that contains a list of links of the String
type, as shown in the following screenshot:
The web\index.html
start up HTML page imports the web component with:
<link rel="import" href="packages/web_links/links_app.html">
The component with the links-app
name is instantiated in the <body>
tag of the page:
<links-app></links-app>
The lib\links_app.html
file contains the UI definition of the component:
<link rel="import" href="../../packages/web_links/link_list.html"> <polymer-element name="links-app"> <template> <link-list></link-list> </template> <script type="application/dart" src="links_app.dart"></script> </polymer-element>
This in its...