angular-ui/ui-grid

A problematic watch

Chiusa

#5583 aperta il 26 lug 2016

 (2 commenti) (3 reazioni) (0 assegnatari)JavaScript (2496 fork)batch import
help wantedseverity: performance

Metriche repository

Star
 (5395 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Please pay attention that such watches as ng-style=\"{ 'margin-left': colContainer.getMargin('left') + 'px'
on line 28204

that calls the following method on each digest cycle GridRenderContainer.prototype.getMargin = function getMargin(side)

create a huge overhead.

Guida contributor