MCPcopy
hub / github.com/Tencent/weui.js / getMin

Function getMin

src/picker/scroll.js:85–87  ·  view source on GitHub ↗
(offset, rowHeight, length)

Source from the content-addressed store, hash-verified

83 * @returns {number}
84 */
85const getMin = (offset, rowHeight, length) => {
86 return -(rowHeight * (length - offset - 1));
87};
88
89$.fn.scroll = function (options) {
90 const $this = $(this).offAll();

Callers 2

stopFunction · 0.85
_moveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected