sage-widget

3.1.1 • Public • Published

sage-widget

Build Status npm version

A simple Mithril widget to evaluate SPARQL queries using a SaGe server.

Installation

npm install sage-widget --save

Requirements

All following library must be loaded into the DOM beforehand.

The package.json file in the example folder contains the appropriate dependencies declaration.

Getting started

The example folder contains a full example of the sage-widget used in a website. To use the widget, you simply need to declare the widget with the <sage-widget> HTML tag. It *requires the urls attribute, which is a comma-separated list of all SaGe server that the widget will be able to query. At startup, the widget will automatically fetch the VoIDs descriptors of the servers and configure itself based on these descriptors.

<div id="sage-widget" urls="http://sage.univ-nantes.fr/"></div>

Package Sidebar

Install

npm i sage-widget

Weekly Downloads

0

Version

3.1.1

License

MIT

Unpacked Size

8.77 MB

Total Files

31

Last publish

Collaborators

  • callidon