UI Hooks: Get data context


#1

Hey guys,
I want to ask you if it is possible, to get the data context (collection record) of an HTML element in UI hooks, f.e.:

this.find('.messages')._uihooks = {
    insertElement: function (node, next) {

  console.log('_id collection record');
}};

#2

@XTA, did you find a way?


#3

@gwendall, if you know a way, it would be terrific to have this pointing to the Blaze data context in meteor-ui-hooks callbacks :- )