Constructor
Appmixer Constructor lays a foundation for building user interfaces with widgets.
Configuration
Set up a new appmixer instance with configuration parameters passed directly into the constructor or use the set/get methods:
const appmixer = new Appmixer({/* [name]: value */})
appmixer.set(name, value)
appmixer.get(name)baseUrl
baseUrlType: String | Default: null
Base URL of your Appmixer engine REST API.
accessToken
accessTokenType: String | Default: null
Access token of an authorized user.
debug
debugType: Boolean | Default: false
Enable debugger for development purposes.
theme
themeType: Object | Default: DefaultTheme
l10n
l10nType: Object | Default: DefaultL10N
Define custom localization texts.
lang
langType: String | Default: en
Specify a language code for the localization of components.
api
apiType: Object | Default: {}
Set custom API methods.
Instance
appmixer.ui
appmixer.uiappmixer.ui('Widget', {/* ... */})
appmixer.ui.Widget({/* ... */})Register and create UI Widgets.
appmixer.api
appmixer.apiUse methods of built-in API Module.
appmixer.set
appmixer.setappmixer.set(key, value)Set configuration property.
appmixer.get
appmixer.getappmixer.get(key, value)Get configuration property.
appmixer.registerCustomComponentShape
appmixer.registerCustomComponentShapeappmixer.registerCustomComponentShape(name, shape)Register a custom Designer component shape.
appmixer.registerInspectorField
appmixer.registerInspectorFieldappmixer.registerInspectorField(type, Field, options)Register a custom Designer inspector field.
Last updated
Was this helpful?
