Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SWLab UI
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SWD
SWLab UI
Commits
b992efad
Commit
b992efad
authored
Aug 22, 2025
by
heywon.choi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
2f2874c6
Pipeline
#22615
passed with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
11-scroll-top.js
src/js/11-scroll-top.js
+1
-1
No files found.
src/js/11-scroll-top.js
View file @
b992efad
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
const
scrollToTopButton
=
document
.
querySelector
(
'.top-scroll-btn'
)
const
scrollToTopButton
=
document
.
querySelector
(
'.top-scroll-btn'
)
// 스크롤 이벤트 핸들러
// 스크롤 이벤트 핸들러
주석처리
// window.addEventListener('scroll', function () {
// window.addEventListener('scroll', function () {
// // 페이지가 300px 이상 스크롤되었을 때 버튼 표시
// // 페이지가 300px 이상 스크롤되었을 때 버튼 표시
// if (window.scrollY > 300) {
// if (window.scrollY > 300) {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment