To include YASGUI, simply take this HTML file. If you'd like to remove the endpoint selector widget, uncommment the CSS part in the head of the HTML
Last active
January 31, 2019 16:57
-
-
Save LaurensRietveld/3b490a52700628d16dfc0964518223aa to your computer and use it in GitHub Desktop.
#YASGUI: Creating a YASGUI page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>YASGUI</title> | |
<link href='//cdn.jsdelivr.net/yasgui/2.5.0/yasgui.min.css' rel='stylesheet' type='text/css'/> | |
<style> | |
/** uncomment this if you'd like to hide the endpoint selector | |
.yasgui .endpointText {display:none !important;} | |
**/ | |
</style> | |
</head> | |
<body> | |
<div id='yasgui'></div> | |
<script src='//cdn.jsdelivr.net/yasgui/2.5.0/yasgui.min.js'></script> | |
<script type="text/javascript"> | |
var yasgui = YASGUI(document.getElementById("yasgui"), { | |
//Uncomment below to change the default endpoint | |
//Note: If you've already opened the YASGUI page before, you should first clear your | |
//local-storage cache before you will see the changes taking effect | |
//yasqe:{sparql:{endpoint:'bla'}} | |
}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment