Skip to content

Class: BaseControl

Hierarchy

Summary

Properties

Class Properties

Inherited Properties

Accessors

Class Accessors

Inherited Accessors

Methods

Class Methods

Inherited Methods

Properties

Protected _observable

_observable: BaseObservable


Protected _parent

_parent: IControl

The parent container control


Accessors

binding

get binding(): any

Returns: any


isBindable

get isBindable(): boolean

Returns: boolean


parent

get parent(): IControl

Returns: IControl

set parent(parent: IControl): void

Parameters:

Name Type
parent IControl

Returns: void


Methods

bind

bind(): Promise‹any›

Returns: Promise‹any›


Protected createObservable

createObservable(): BaseObservable

Returns: BaseObservable


getContainer

getContainer(): IControl

Returns: IControl


initialize

initialize(controlData: IControlData): void

Overrides IView.initialize

Parameters:

Name Type
controlData IControlData

Returns: void


observable

observable(): BaseObservable

Overrides IControl.observable

Returns: BaseObservable


onPageUnloaded

onPageUnloaded(pageExists: boolean): void

Overrides IView.onPageUnloaded

Parameters:

Name Type
pageExists boolean

Returns: void


setContainer

setContainer(container: IControl): void

Overrides IControl.setContainer

Parameters:

Name Type
container IControl

Returns: void


setValue

setValue(value: any, notify: boolean, isTextValue?: boolean): Promise‹any›

Overrides IControl.setValue

Parameters:

Name Type
value any
notify boolean
isTextValue? boolean

Returns: Promise‹any›


setView

setView(view: any): void

Parameters:

Name Type
view any

Returns: void


view

view(): any

Overrides IView.view

Returns: any