blob: 57df4c3e42ca50c86f12b698b590470fdfc5cbc3 [file] [log] [blame]
>>>
class MyElement extends PolymerElement {
MyElement.created() : super.created();
@reflectable
void showNodesAndEntryPoints([_, __]) {
addAll(
'nodesAndEntryPoints',
new PolymerDom(
this).children.map((child) => '${child.outerHtml} ------> '
'${(new PolymerDom(child).getDestinationInsertionPoints()[0] as Element).outerHtml}'));
}
}
<<<
class MyElement extends PolymerElement {
MyElement.created() : super.created();
@reflectable
void showNodesAndEntryPoints([_, __]) {
addAll(
'nodesAndEntryPoints',
new PolymerDom(this).children.map((child) =>
'${child.outerHtml} ------> '
'${(new PolymerDom(child).getDestinationInsertionPoints()[0] as Element).outerHtml}'));
}
}