Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AutoRollingNews에서 startRolling Method로 구현하기 #14

Closed
Tracked by #9
youzysu opened this issue May 26, 2023 · 0 comments
Closed
Tracked by #9

AutoRollingNews에서 startRolling Method로 구현하기 #14

youzysu opened this issue May 26, 2023 · 0 comments

Comments

@youzysu
Copy link
Owner

youzysu commented May 26, 2023

No description provided.

youzysu added a commit that referenced this issue May 28, 2023
- 5초 간격으로 롤링되는 로직은 AutoRollingNews에서 rAF에 콜백으로 등록하고,
- 좌우 1초 간격으로 롤링을 시작하도록 하는 콜백은 newsBar에서 rAF로 등록한다.
youzysu added a commit that referenced this issue May 28, 2023
- AutoRollingNews 컴포넌트에서 isRolling state를 갖는다.
- 마우스 이벤트에 따라 isRolling state 값이 변경된다.
- isRolling이 true일 때만 rolling이 발생되도록 한다.
@youzysu youzysu closed this as completed May 28, 2023
@youzysu youzysu changed the title Controller 별도로 분리하지 않고 AutoRollingNews에서 rolling 로직 구현하기 AutoRollingNews에서 startRolling Method로 구현하기 Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant