Skip to content

Added Element extension with .matches and .closest

What does this MR do?

This adds .matches and .closest polyfills that will help when removing/not using jQuery. I added these in another MR which was then refactored to not require these methods, but I thought we might as well not lose the code.

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

Help when removing/not using jQuery.

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Merge request reports