• Adam Barth's avatar
    Re-work MaterialComponent · c6217000
    Adam Barth authored
    Instead of MaterialComponent being a base class, components that want material
    behavior simply create a MaterialComponent during their render function. This
    approach gives the component more flexibility as to its structure and gives
    MaterialComponent more flexibility has to how the components it generates are
    related to the existing children.
    
    Also, I've improved some of the event delegation code. There's no reason to
    attach event handlers to the root component you emit during |render| because
    the framework already delegates events from your root component to you.
    
    R=rafaelw@chromium.org
    
    Review URL: https://codereview.chromium.org/983903003
    c6217000
Name
Last commit
Last update
..
stockarrow.dart Loading commit data...
stocklist.dart Loading commit data...
stockrow.dart Loading commit data...
stocks.sky Loading commit data...
stocksapp.dart Loading commit data...