See how es extended did it. They have a method for it

1 Like