슬라이드뷰 » Api

scroll

Description

특정 아이템의 스크롤 위치를 이동하는 API이다.

nItemIndex가 -1인 경우에는, 현재 포커스를 가진 탭을 대상으로 적용된다.

아이템에 화면이 링크되어 있는 경우에는, 링크된 화면에 적용된다.

Parameters

Parameters Type Description
nItemIndex short 아이템 인덱스
nXAmount short 이동할 x 좌표
nYAmount short 이동할 y 좌표

Return Value

Type Description
void 없음

Remark

** nXAmount, nYAmount값
0보다 클 경우   : 현재 내 위치에서 해당 수치 만큼 내려간다.
0보다 작을 경우 : 현재 내 위치에서 해당 수치 만큼 올라간다.

Example

function btn_scroll_on_mouseup() { slideView.scroll(-1, 0, 50); }

Viewer Ver.

9.1.1.1

Update Date

20181128