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
6c36bf6dc4a9
Commit
d80b28dc
authored
Sep 23, 2020
by
Fabien Amarger
Browse files
feat: [link] Add the generateUrl to the simpleRender signature
parent
b19dba8e323b
Pipeline
#15733
passed with stages
in 2 minutes and 12 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/view-impl.ts
View file @
6c36bf6d
...
...
@@ -137,7 +137,12 @@ export interface ViewImplementation {
/**
* The (optional) data fetcher is an utility to ease fetching data for a specific URI
*/
dataFetcher
?:
DataFetcher
dataFetcher
?:
DataFetcher
,
/**
* The (optional) generateUrl is a function which take an URI as param and export
* the URL for the sparqlexplorer (with all other params thank URI)
*/
generateUrl
?:
(
uri
:
string
)
=>
string
)
=>
void
;
}
...
...
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