3.0.0-beta.16 • Published 5 years ago

fenix-ui-metadata-viewer v3.0.0-beta.16

Weekly downloads
3
License
GPL-2.0
Repository
github
Last release
5 years ago

FENIX metadata viewer

var Viewer = require('fx-md-v/start');

var viewer = new Viewer(options);

Configuration

Check fx-md-v/config/config.js to have a look of the default configuration.

API

//This is an example
viewer.on("export", function (state) {...});
  • viewer.on(event, callback[, context]) : pub/sub
  • viewer.dispose() : dispose the catalog instance

Events

  • ready : triggered when the metadata viewer is ready
  • dispose : triggered when the box is disposed
  • export : triggered when export button is clicked