From a49b02406ced02352c8a44aa623609814e834c7d Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Fri, 21 Jun 2019 04:24:14 +0300 Subject: [PATCH] notes... Signed-off-by: Alex A. Naanou --- ui (gen4)/lib/widget/browse2.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/ui (gen4)/lib/widget/browse2.js b/ui (gen4)/lib/widget/browse2.js index 0d2e2174..f2519013 100755 --- a/ui (gen4)/lib/widget/browse2.js +++ b/ui (gen4)/lib/widget/browse2.js @@ -3871,7 +3871,15 @@ var BrowserPrototype = { // Scroll... // - // XXX use .options.focusOffsetWhileScrolling + // position can be: + // 'start' + // 'center' + // 'end' + // + // XXX use .options.focusOffsetWhileScrolling / nudgeElement(..) + // ...only need to determine direction... + // 'start' -> nudgeElement(this, 'up', elem) + // 'end' -> nudgeElement(this, 'down', elem) scrollTo: function(pattern, position){ var target = this.get(pattern) target