Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
coopwire-hypothesis
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
孙灵跃 Leon Sun
coopwire-hypothesis
Commits
2c37c7e8
Commit
2c37c7e8
authored
Apr 20, 2023
by
Alejandro Celaya
Committed by
Alejandro Celaya
Apr 20, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Export type which is part of the public API
parent
96e9cf59
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
buckets.ts
src/annotator/util/buckets.ts
+1
-1
scroll.ts
src/annotator/util/scroll.ts
+1
-1
No files found.
src/annotator/util/buckets.ts
View file @
2c37c7e8
...
@@ -43,7 +43,7 @@ export type WorkingBucket = {
...
@@ -43,7 +43,7 @@ export type WorkingBucket = {
top
:
number
;
top
:
number
;
/**
/**
* he bottommost (highest) vertical offset for the anchors in this bucket —
*
T
he bottommost (highest) vertical offset for the anchors in this bucket —
* the highest `top` position value, akin to the bottom of a theoretical box
* the highest `top` position value, akin to the bottom of a theoretical box
* drawn around all the anchor highlights in this bucket
* drawn around all the anchor highlights in this bucket
*/
*/
...
...
src/annotator/util/scroll.ts
View file @
2c37c7e8
...
@@ -35,7 +35,7 @@ export function offsetRelativeTo(
...
@@ -35,7 +35,7 @@ export function offsetRelativeTo(
return
offset
;
return
offset
;
}
}
type
DurationOptions
=
{
maxDuration
?:
number
};
export
type
DurationOptions
=
{
maxDuration
?:
number
};
/**
/**
* Scroll `element` until its `scrollTop` offset reaches a target value.
* Scroll `element` until its `scrollTop` offset reaches a target value.
...
...
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