onFocus event for list items

Added by sn0b wanderer over 7 years ago

Hi there,

I'm using a default/pages/list.view based custom view with videos as items. My idea is to fetch the video details (the right pane) first, when a user selects an item by moving the cursor.
I tried several combinations of fireEvent, e.g.:

fireEvent(deliverEvent($clone.focused, "test")))

at different places (cloner, loader, ...). Some of them fire, but only once on page load and not on focus/select.

so, is there any way of getting some kind of onFocus/selected event when moving from one item to another?

Thx :-)


Replies (3)

RE: onFocus event for list items - Added by Andreas Smas over 7 years ago

you can do

onEvent(GainedFocus, ...);

onEvent(LostFocus, ...);

(1-3/3)