Closed web-padawan closed 7 years ago
Hi!
Yeah, the expanding-item
is supposed to be fired only when user has clicked on a row to expand it. I guess we should make _expandedItems
public and put notify: true
on it.
@web-padawan could you try out how expose-expanded-items
branch work for you? expandedItems
is now public and you should be able to observe that for changes.
Thanks, I'll take a look.
@web-padawan any luck?
Looks good, but what if someone changes expanedItems
from outside?
I already implemented this in brainy-table
, however. Will debug there.
Will close the issue now, it's up to you to make a decision.
I use a custom expand toggle element bound to
{{expanded}}
property, withoutdetails-expanded
attribute (because I only need to show details when clicking on element, not the whole row). Butexpanding-item
event is not fired due to this row:Maybe instead of firing this event inside of click handler we should observe
expanded
?