Constructor
Appmixer Constructor lays a foundation for building user interfaces with widgets.
Configuration
Set up a new appmixer
instance with config
parameters and set
/get
methods:
config.baseUrl
config.baseUrl
Type: String
| Default: null
Base URL of your Appmixer engine REST API.
config.accessToken
config.accessToken
Type: String
| Default: null
Access token of an authorized user.
config.debug
config.debug
Type: Boolean
| Default: false
Enable debugger for development purposes.
config.theme
config.theme
Type: Object
| Default: DefaultTheme
config.l10n
config.l10n
Type: Object
| Default: DefaultL10N
Define custom localization texts.
config.lang
config.lang
Type: String
| Default: en
Specify a language code for the localization of components.
config.api
config.api
Type: Object
| Default: {}
Set custom API methods.
Instance
appmixer.ui
appmixer.ui
Register and create UI Widgets.
appmixer.api
appmixer.api
Use methods of built-in API Module.
appmixer.set
appmixer.set
Set configuration property.
appmixer.get
appmixer.get
Get configuration property.
appmixer.registerCustomComponentShape
appmixer.registerCustomComponentShape
Register a custom Designer component shape.
appmixer.registerInspectorField
appmixer.registerInspectorField
Register a custom Designer inspector field.
Basic Usage
Connect to Appmixer engine REST API and render user interfaces with a built-in widget:
Change USERNAME
and PASSWORD
parameters to valid credentials for registration of a new user.
Learn more about the basic usage with the Quick Start example.
Last updated