|
18 | 18 | </div></td></tr></tbody></table><h5 id="methods_createboundedwrapper_returns">Returns</h5><table class="variables-matrix"><tr><td><a href="" class="label type-hint type-hint-function">Function</a></td><td><div class="createboundedwrapper-page"><p>The wrapper that performs the binding</p>
|
19 | 19 | </div></td></tr></table></div>
|
20 | 20 | </li>
|
21 |
| -<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/ui-grid-util.js#L1158" class="view-source icon-eye-open"> </a><h3 id="methods_debounce">debounce(func, wait, immediate)</h3> |
| 21 | +<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/ui-grid-util.js#L1165" class="view-source icon-eye-open"> </a><h3 id="methods_debounce">debounce(func, wait, immediate)</h3> |
22 | 22 | <div class="debounce"><div class="debounce-page"><p>Copied from <a href="https://github.com/shahata/angular-debounce">https://github.com/shahata/angular-debounce</a>
|
23 | 23 | Takes a function, decorates it to execute only 1 time after multiple calls, and returns the decorated function</p>
|
24 | 24 | </div><h5 id="methods_debounce_parameters">Parameters</h5><table class="variables-matrix table table-bordered table-striped"><thead><tr><th>Param</th><th>Type</th><th>Details</th></tr></thead><tbody><tr><td>func</td><td><a href="" class="label type-hint type-hint-function">function</a></td><td><div class="debounce-page"><p>function to debounce</p>
|
|
35 | 35 | </div></div>
|
36 | 36 | </div>
|
37 | 37 | </li>
|
38 |
| -<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/ui-grid-util.js#L1081" class="view-source icon-eye-open"> </a><h3 id="methods_denormalizescrollleft">denormalizeScrollLeft(element, scrollLeft, grid)</h3> |
| 38 | +<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/ui-grid-util.js#L1088" class="view-source icon-eye-open"> </a><h3 id="methods_denormalizescrollleft">denormalizeScrollLeft(element, scrollLeft, grid)</h3> |
39 | 39 | <div class="denormalizescrollleft"><div class="denormalizescrollleft-page"><p>Browsers currently handle RTL in different ways, resulting in inconsistent scrollLeft values. This method denormalizes a value for the current browser.</p>
|
40 | 40 | </div><h5 id="methods_denormalizescrollleft_parameters">Parameters</h5><table class="variables-matrix table table-bordered table-striped"><thead><tr><th>Param</th><th>Type</th><th>Details</th></tr></thead><tbody><tr><td>element</td><td><a href="" class="label type-hint type-hint-element">element</a></td><td><div class="denormalizescrollleft-page"><p>The element to normalize the <code>scrollLeft</code> value for</p>
|
41 | 41 | </div></td></tr><tr><td>scrollLeft</td><td><a href="" class="label type-hint type-hint-number">number</a></td><td><div class="denormalizescrollleft-page"><p>The <code>scrollLeft</code> value to denormalize.</p>
|
|
141 | 141 | </div></div>
|
142 | 142 | </div>
|
143 | 143 | </li>
|
144 |
| -<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/ui-grid-util.js#L1046" class="view-source icon-eye-open"> </a><h3 id="methods_normalizescrollleft">normalizeScrollLeft(element, grid)</h3> |
| 144 | +<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/ui-grid-util.js#L1053" class="view-source icon-eye-open"> </a><h3 id="methods_normalizescrollleft">normalizeScrollLeft(element, grid)</h3> |
145 | 145 | <div class="normalizescrollleft"><div class="normalizescrollleft-page"><p>Browsers currently handle RTL in different ways, resulting in inconsistent scrollLeft values. This method normalizes them</p>
|
146 | 146 | </div><h5 id="methods_normalizescrollleft_parameters">Parameters</h5><table class="variables-matrix table table-bordered table-striped"><thead><tr><th>Param</th><th>Type</th><th>Details</th></tr></thead><tbody><tr><td>element</td><td><a href="" class="label type-hint type-hint-element">element</a></td><td><div class="normalizescrollleft-page"><p>The element to get the <code>scrollLeft</code> from.</p>
|
147 | 147 | </div></td></tr><tr><td>grid</td><td><a href="" class="label type-hint type-hint-grid">grid</a></td><td><div class="normalizescrollleft-page"><ul>
|
|
159 | 159 | </div></td></tr></tbody></table><h5 id="methods_normalizewheelevent_returns">Returns</h5><table class="variables-matrix"><tr><td><a href="" class="label type-hint type-hint-event">event</a></td><td><div class="normalizewheelevent-page"><p>A normalized event</p>
|
160 | 160 | </div></td></tr></table></div>
|
161 | 161 | </li>
|
162 |
| -<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/ui-grid-util.js#L1121" class="view-source icon-eye-open"> </a><h3 id="methods_preeval">preEval(path)</h3> |
| 162 | +<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/ui-grid-util.js#L1128" class="view-source icon-eye-open"> </a><h3 id="methods_preeval">preEval(path)</h3> |
163 | 163 | <div class="preeval"><div class="preeval-page"><p>Takes a field path and converts it to bracket notation to allow for special characters in path</p>
|
164 | 164 | </div><h5 id="methods_preeval_parameters">Parameters</h5><table class="variables-matrix table table-bordered table-striped"><thead><tr><th>Param</th><th>Type</th><th>Details</th></tr></thead><tbody><tr><td>path</td><td><a href="" class="label type-hint type-hint-string">string</a></td><td><div class="preeval-page"><p>Path to evaluate</p>
|
165 | 165 | </div></td></tr></tbody></table><h5 id="methods_preeval_returns">Returns</h5><table class="variables-matrix"><tr><td><a href="" class="label type-hint type-hint-string">string</a></td><td><div class="preeval-page"><p>A path that is normalized.</p>
|
|
205 | 205 | </div></div>
|
206 | 206 | </div>
|
207 | 207 | </li>
|
208 |
| -<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/ui-grid-util.js#L1217" class="view-source icon-eye-open"> </a><h3 id="methods_throttle">throttle(func, wait, options)</h3> |
| 208 | +<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/ui-grid-util.js#L1224" class="view-source icon-eye-open"> </a><h3 id="methods_throttle">throttle(func, wait, options)</h3> |
209 | 209 | <div class="throttle"><div class="throttle-page"><p>Adapted from debounce function (above)
|
210 | 210 | Potential keys for Params Object are:
|
211 | 211 | trailing (bool) - whether to trigger after throttle time ends if called multiple times
|
|
0 commit comments