June 2017
Intermediate to advanced
873 pages
18h 9m
English
In this recipe, we show you how the data of a list can be displayed in a Polymer component. So we perform data binding from the code to the UI here as well as in the following recipe. You can find the code for this recipe in the project databinding_list.
web\index.html, where a component with the name pol-list is imported through the line:<link rel="import"href="pol_list.html">
From this, we know that the component is defined in pol_list.html, and the code behind it is in a file named pol_list.dart. For a discussion of the other tags, see the previous recipe.
pol_list.dart:import'dart:html'; import'package:polymer/polymer.dart'; ...
Read now
Unlock full access