Class

AdmApp

AdmApp(config)

---------------------------------------------------------------------------------------------- Class Main-Application ----------------------------------------------------------------------------------------------
Constructor

# new AdmApp(config)

Create a basic adamantium app.
Parameters:
Name Type Description
config Object Configuration object of adamantium app

View Source app/AdmApp.js, line 18

Methods

# component(name, Component, config) → {Promise}

Add a adamantium component.
Parameters:
Name Type Description
name string Componentt key name
Component Class Class of an adamantium component
config Object Configuration object of a component

View Source app/AdmApp.js, line 127

A resolved promise
Promise

# async init()

Initialize app

View Source app/AdmApp.js, line 45

# async module(name, Module, config) → {Promise}

Add a adamantium module.
Parameters:
Name Type Description
name string Module key name
Module Class Class of an adamantium module
config Object Configuration object of a module

View Source app/AdmApp.js, line 107

A resolved promise
Promise

# reload(newUrl)

Reload app
Parameters:
Name Type Description
newUrl String reload new url - default current url (optional)

View Source app/AdmApp.js, line 85

# setTheme(value)

Set app theme.
Parameters:
Name Type Description
value String

View Source app/AdmApp.js, line 94