Allow to specify mounted callback on DOM
Closed this issue · 1 comments
lsbardel commented
An idea is to specify the mounted callback for a component directly in the dom.
<my-domponent mounted="$callback"></my-component>
and in javascript
vm = d3.view({
model: {
$callback: function (cm) {...}
}
});
In this way one could organise the view model as the application object.
lsbardel commented
not sure why we need this anymore. Too much binding between components.