Hi
I played with the example code under: "custom_elements_with_custom_attribute"
Sorry to say, but this looks very weird and (imo) hardly usable.
What really boggles my mind is that changing index.dart like this:
import 'dart:html';
(so after removing: query('#tmpl').model = '11';)
The result is an empty screen !!
And wtf mean's ".model" anyway? What if you have more than 1 property ?
What you expect from a modern custom component is something like:
<my-element volume="bsn1234" price="99.95" date="20131109"></my-element>
or
<template repeat="{{book in books}}">
<my-element volume="{{bsn}} price="{{price}}" date="{{date}}"></my-element>
etc