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
682c542c
Commit
682c542c
authored
Jul 18, 2023
by
Robert Knight
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document `contentReady` configuration setting
parent
38b13e87
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
config.rst
docs/publishers/config.rst
+8
-0
No files found.
docs/publishers/config.rst
View file @
682c542c
...
@@ -352,6 +352,14 @@ loads.
...
@@ -352,6 +352,14 @@ loads.
of that text when it is being viewed as well as the font-family of the
of that text when it is being viewed as well as the font-family of the
editor as the annotation is being written.
editor as the annotation is being written.
.. option:: contentReady
``Promise``. A promise that signals to Hypothesis when the document's content
is ready. In web applications where the content loads asynchronously, this
allows Hypothesis to be loaded concurrently with the content, while making
sure that Hypothesis waits for the content to be ready before attempting to
locate annotated content in the document.
.. option:: onLayoutChange
.. option:: onLayoutChange
``function``. This function will be a registered callback to be invoked when the sidebar
``function``. This function will be a registered callback to be invoked when the sidebar
...
...
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