Can anyone help me with element-closest usage?

How i use element-closest? I’m new in the frontend development world, and I need to use aurelia in internet explorer 11. I saw that a polyfill (I didn’t understant well what that is) could help me with that. But i don’t understand how to use in aurelia. I’m using aurelia with typescript. I’m having problems with aurelia validator and bindings i think.

1 Like

Can you help paste some simple block of code showing what you want to do?

In your main.ts before aurelias configure method you can either manually Paste the polyfill from mdn or npm Install element-closest and import "element-closest";

Edit:
See this related issue

1 Like