Efficient JavaScript – Opera Developer Community

Repaint – also known as redraw – is what happens whenever something is made visible when it was not previously visible, or vice versa, without altering the layout of the document. An example would be when adding an outline to an element, changing the background color, or changing the visibility style. Repaint is expensive in terms of performance, as it requires the engine to search through all elements to determine what is visible, and what should be displayed.

Citer ce billet
cléoradar (2009, 12 avril). Efficient JavaScript – Opera Developer Community. Cléo Radar. Consulté le 23 avril 2024, à l’adresse https://doi.org/10.58079/mw6d

Rechercher dans OpenEdition Search

Vous allez être redirigé vers OpenEdition Search