For the complete documentation index, see llms.txt. This page is also available as Markdown.

f.Scroll.toSector()

f.Scroll.toSector(sector, isAnimate)

개요

섹터가 표현되는 레이아웃으로 스크롤을 이동합니다.

파라미터

파라미터명
필수여부
타입
제약사항
설명

sector

필수

Object

섹터

isAnimate

Boolean

애니메이션 유무

isAnimate

기본값은 true 입니다.

예시

//스텝 기준
f.Scroll.toSector(_c.activeSector, false) // 스크롤 이동 애니메이션 취소
f.Scroll.toSector(_c.lastSectors[0])  //스크롤 이동 애니메이션 적용

f.Scroll.toSector(_c.lastSectors[_c.lastSectors.length -1]) //새로 받아온 데이터의 맨 마지막으로 스크롤 이동.

//그룹 혹은 레이아웃 기준
f.Content("그룹/레이아웃 아이디").Scroll.toSector(_c.lastSectors[0])

마지막 업데이트

도움이 되었나요?