I'm trying to pass the DOM element to Aurelia function, but it ain't work. Just to notice that this element is not in the 'repeat.for' statement.
I have something like this, which obviously is not correct :
<span click.trigger="passDom(d)">Pass Dom Element</span>
export class Test {
passDom(d) {
console.log(d);
}
}
I try using $self, but not working as well.