API ReferenceGlobalsMain

# Class: Main

# Hierarchy

# Implements

# Index

# Constructors

# Methods

# Constructors

# constructor

+ new Main(creator?: string): Main

Defined in packages/common-core/src/main.ts:76

Parameters:

Name Type
creator? string

Returns: Main

# Methods

# boot

boot(settings?: object): void

Defined in packages/common-core/src/main.ts:135

Parameters:

Name Type
settings? object

Returns: void


# destroy

destroy(): void

Defined in packages/common-core/src/main.ts:176

Returns: void


# Abstract getApi

getApi(): ExternalEmbeddable

Defined in packages/common-core/src/main.ts:76

Returns: ExternalEmbeddable


# getRapiAccess

getRapiAccess(): RapiAccess

Defined in packages/common-core/src/main.ts:190

returns the instance of the rapi access so that the user of the SDK can fetch data from the Roomle backend

params none

Returns: RapiAccess

RapiAccess


# pause

pause(): void

Defined in packages/common-core/src/main.ts:158

Returns: void


# resume

resume(element?: HTMLElement): void

Defined in packages/common-core/src/main.ts:167

Parameters:

Name Type
element? HTMLElement

Returns: void


# teardown

teardown(): void

Defined in packages/common-core/src/main.ts:147

Returns: void