Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
smoothscroll
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
grifart libs
smoothscroll
Merge requests
!7
Improve structure
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Improve structure
improve-structure
into
master
Overview
5
Commits
18
Pipelines
7
Changes
3
All threads resolved!
Hide all comments
Merged
Daniel Kurowski
requested to merge
improve-structure
into
master
4 years ago
Overview
5
Commits
18
Pipelines
7
Changes
3
All threads resolved!
Hide all comments
Expand
Trochu jsem to ještě před
https://github.com/grifart/smoothscroll/issues/4
rozsekal. Může být?
Edited
4 years ago
by
Daniel Kurowski
0
0
Merge request reports
Viewing commit
828c6fb7
Prev
Next
Show latest version
3 files
+
5
−
4
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
828c6fb7
Added integration test
· 828c6fb7
Daniel Kurowski
authored
4 years ago
demo
.html
→
src/integrationTest
.html
+
4
−
2
Options
@@ -3,9 +3,9 @@
<head>
<meta
charset=
"UTF-8"
>
<meta
name=
"viewport"
content=
"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
>
<title>
Visual test of smoothscroll
</title>
<title>
Integration test
</title>
<script
src=
"https://cdn.jsdelivr.net/npm/velocity-animate@1.5/velocity.min.js"
></script>
<script
src=
"dist/index.js"
type=
"text/javascript"
></script>
<script
src=
"
../
dist/index.js"
type=
"text/javascript"
></script>
<script>
SmoothScroll
.
enable
({
scrollOnLoad
:
true
,
@@ -34,6 +34,8 @@
</style>
</head>
<body>
<!-- @todo: improve this file -->
<div
id=
"nahoru"
></div>
<a
href=
"#item1"
>
Item1
</a>
<a
href=
"#item2"
>
Item2
</a>
Loading