June 2017
Intermediate to advanced
873 pages
18h 9m
English
In this recipe, we will explore two polymer.dart features:
<template if={{condition}}></template>, where a condition is an expression involving observed or published variablesYou can find the code in the project custom_attrib.
In this example, we simulate an oven, with the temperature as its attribute. We show the temperature in a textual form, and also test the temperature to display an appropriate message, as shown in the following screenshot:
Custom attributes ...
Read now
Unlock full access