<core-list-dart id="list" data="{{albums}}" height="10" >
<template>
<div class="{{ {item: true, selected: selected} }}">
<div class="title">{{title}}</div>
</div>
</template>
</core-list-dart>@override
ready()
{
albums.addAll(new AlbumDelegate().getAlbums());
list = shadowRoot.querySelector("#list");
//(list.selection as CoreSelection).onSelect.listen((_) => handleAlbumListChange());
//list.selectedHandler = handleAlbumListChange;
}The core-list element supports the core-activated event. The event detail contains the activated/selected element. You should declare the listen with list.on ['core-activated'].listen(handleAlbumListChange)
Best Regals
Hans
--
You received this message because you are subscribed to the Google Groups "Dart Web Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web+uns...@dartlang.org.
Visit this group at http://groups.google.com/a/dartlang.org/group/web/.
To view this discussion on the web visit https://groups.google.com/a/dartlang.org/d/msgid/web/153ac471-1b9c-46b3-bc32-f0e632009061%40dartlang.org.
list.onCoreActivate.listen(handleAlbumListChange)