gallery-itsascrollviewkeynav

gallery-itsascrollviewkeynav

Plugin Y.Plugin.ITSAScrollViewKeyNav

Plugin that enables scrollview-navigation with keys.

In order to response to key-events, the scrollview-instance needs to have focus. This can be set either by myScrollView.focus() -or blur()-
or by setting the attribute ‘initialFocus’ to true. The plugin also works when Plugin.ScrollViewPaginator is plugged-in. The behaviour will be
different, because the scrolling is paginated in that case.

If this plugin is plugged into a Y.ITSAScrollViewModellist-instance, then the keynavigation will scroll through the items in case
the attribute ‘modelsSelectable’ is set to true.