> For the complete documentation index, see [llms.txt](https://infinisuite.gitbook.io/sdk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://infinisuite.gitbook.io/sdk/sdk-and-scripting/classes/base-app.sdk.md).

# BaseApp

| Methods                                           |   |
| ------------------------------------------------- | - |
| init(appConfig) ⇒ `this`                          |   |
| close()                                           |   |
| get(id)                                           |   |
| set(id, value)                                    |   |
| getPopupReference() ⇒ `Type.PopupWindow`          |   |
| setAppTitle(title) ⇒ `this`                       |   |
| setWindowTitle(title)                             |   |
| getToolbar() ⇒ `Toolbar`                          |   |
| disableToolbarButtonsForUser()                    |   |
| getToobarProp(itemID, propertyID)                 |   |
| setToolbarProp(itemID, propertyID, propertyValue) |   |
| onToolbarClickEventHandler(e)                     |   |
| addWidget(widget) ⇒ `this`                        |   |
| disableContainer(containerId)                     |   |
| enableContainer(containerId)                      |   |
| addContextMenu(id, target, menuItems)             |   |
| setContextMenuItems(id, menuItems)                |   |

## init(appConfig) ⇒ `this`

**Params**

* appConfig `Type.AppConfig`

## close()

## get(id)

**Params**

* id

## set(id, value)

**Params**

* id
* value

## getPopupReference() ⇒ `Type.PopupWindow`

## setAppTitle(title) ⇒ `this`

**Params**

* title `any`

## setWindowTitle(title)

**Params**

* title

## getToolbar() ⇒ `Toolbar`

## disableToolbarButtonsForUser()

## getToobarProp(itemID, propertyID)

**Params**

* itemID
* propertyID

## setToolbarProp(itemID, propertyID, propertyValue)

**Params**

* itemID
* propertyID
* propertyValue

## onToolbarClickEventHandler(e)

**Params**

* e `Type.EventInfo`

## addWidget(widget) ⇒ `this`

**Params**

* widget `Type.Widget`

## disableContainer(containerId)

**Params**

* containerId `any`

## enableContainer(containerId)

**Params**

* containerId `any`

## addContextMenu(id, target, menuItems)

**Params**

* id
* target
* menuItems

## setContextMenuItems(id, menuItems)

**Params**

* id
* menuItems
