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
-
-
Save miku/bb6520272779b033471296cf31d42fe9 to your computer and use it in GitHub Desktop.
#YASGUI: Creating a YASGUI page
This file contains hidden or 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