MouseEvent.mozPressure has been deprecated

Published: | Categories: DOM


The mozPressure property on the MouseEvent interface is now deprecated and will be removed in the near future. Firefox 68 will show a deprecation warning in the console when the property is found on a page. Use the standard PointerEvent.pressure property instead, which is part of the Pointer Events API available since Firefox 59.