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
analysis.on("catalog.show", function () {...});
analysis.on(event, callback[, context])
: pub/subanalysis.dispose()
: dispose the analysis instance
Events
catalog.show
: triggered when a catalog is shownready
: triggered when a instance is ready