App.js
App/App.js
Top-level namespace for project-specific initialisation and customisation.
App.js should be included after all Rhapsodist includes.
Overview
App is a placeholder namespace in App/App.js that serves as the entry point for project-specific code and customisation.
Purpose
This namespace provides a hook point for:
- Custom initialisation - Any setup logic unique to the project
- Override functions - Replacing or extending framework behaviour
- Custom functionality - Adding project-specific functionality
Example Usage
namespace App
{
VelocityTable.create("pnlCard0", "velocityScaler", {});
EnvelopePanel.create("pnlCard1", "ahdsrController", "globalGainFlexAhdsr", {});
ArticulationList.create("pnlCard2", {});
//! knbExpression
const knbExpression = Content.getComponent("knbExpression");
knbExpression.setLocalLookAndFeel(CoreLookAndFeel.knob);
//! knbDynamics
const knbDynamics = Content.getComponent("knbDynamics");
knbDynamics.setLocalLookAndFeel(CoreLookAndFeel.knob);
}