fenix-ui-analysis

3.0.0-beta.86 • Public • Published

FENIX Analysis

var Analysis = require('fx-analysis/start');

var analysis = new Analysis({
        el : "#analysis-container",
        ...
    });

Configuration

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

Parameter Type Default Value Example Description
el CSS3 Selector/JavaScript DOM element/jQuery DOM element - "#container" component container
cache boolean false true whether or not to use FENIX bridge cache
environment string 'develop' 'production' Server environment
lang string 'EN' 'IT' Multilingual
catalog Object || false - - Proxied FENIX Catalog configuration. Check FENIX Catalog. `false` to do not render catalog
box Object - - Proxied FENIX Visualization Box configuration. Check FENIX Visualization Box.

API

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

Events

  • catalog.show : triggered when a catalog is shown
  • ready : triggered when a instance is ready

Readme

Keywords

none

Package Sidebar

Install

npm i fenix-ui-analysis

Weekly Downloads

5

Version

3.0.0-beta.86

License

GPL-2.0

Unpacked Size

6.95 MB

Total Files

114

Last publish

Collaborators

  • fenix-platform