I have the following code that I need to make sure it is performance sensitive:
var $content = $(htmlString);
$content.css('display', 'none');
$content.appendTo(options.els.$slider);
I can’t remember whether reflow is triggered by any manipulation of the DOM or if there are exceptions, such as adding a stream element to the DOM outside the element. Will the above code cause a re-melting if it options.els.$slider
is in a stream?
styke source
share