Element.setCapture() is deprecated. Use Element.setPointerCapture() instead. For more help https://developer.mozilla.org/docs/Web/API/Element/setPointerCapture
Element.setCapture () está en desuso. Utilice Element.setPointerCapture () en su lugar. Para obtener más ayuda https://developer.mozilla.org/docs/Web/API/Element/setPointerCapture