Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
SemWeb
libview
Commits
378aa14950dd
Commit
1df8a3ad
authored
Feb 26, 2021
by
Élodie Thiéblin
Browse files
feat: Add possibility for a generateUrl function
parent
137d44f9786c
Pipeline
#37074
failed with stages
in 1 minute and 13 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/index.ts
View file @
378aa149
...
...
@@ -2,7 +2,8 @@ export interface SparqlView {
renderSparql
:
(
domElement
:
HTMLElement
,
uri
:
string
,
endpoint
:
string
endpoint
:
string
,
generateUrl
:
(
originalUrl
:
string
)
=>
string
|
null
)
=>
void
;
priorityForSparql
:
(
uri
:
string
,
endpoint
:
string
)
=>
Promise
<
number
>
;
}
...
...
Write
Preview
Supports
Markdown
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