Window.mozPaintCount
Returns the number of times the current document has been painted to the screen in this window.
Syntax
JavaScript
Copy Code
var paintCount = window.mozPaintCount;
paintCount
stores thewindow.mozPaintCount
property value.- The
window.mozPaintCount
value is along long
, and starts at zero when the document is first created, incrementing by one each time the document is painted.
Specification
Not part of any W3C technical specification or recommendation.
License
© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-us/docs/web/api/window/mozpaintcount