I've been trying to add the command to scroll the hover popup, but i am stuck at how should i update HoverView, first i thought about exposing a HoverView.update function, but then how would i know the current value? Since the scroll is basically increase and decrease that value, in my mind the process is: Check if there is some active session, if so get the scrollTop value and update it depending on the command. My question is where should i expose the scrollTop value?
Please tell if there is something wrong in my logic
I've been trying to add the command to scroll the hover popup, but i am stuck at how should i update
HoverView
, first i thought about exposing aHoverView.update
function, but then how would i know the current value? Since the scroll is basically increase and decrease that value, in my mind the process is: Check if there is some active session, if so get thescrollTop
value and update it depending on the command. My question is where should i expose thescrollTop
value?Please tell if there is something wrong in my logic