File

src/core/widget-facade/widget-facade-factory.ts

Description

A service that provides easy access to widget facades

Example

Index

Methods

Constructor

constructor(widgetFormat: WidgetFormatService, colorMap: ColorTableService, smartServiceAdapter: SmartServiceAdapter)
Parameters :
Name Type Optional
widgetFormat WidgetFormatService No
colorMap ColorTableService No
smartServiceAdapter SmartServiceAdapter No

Methods

deregisterInput
deregisterInput(inputId: string)

Deregisters an input from the facade factory. For internal use.

Parameters :
Name Type Optional
inputId string No
Returns : void
Async GetFacade
GetFacade(inputId: string)

Creates a widget facade for the input that has the given HTML id.

Parameters :
Name Type Optional
inputId string No
GetFacadeReference
GetFacadeReference(inputId: string)
Parameters :
Name Type Optional
inputId string No
Returns : IWidgetFacade

IWidgetFacade

registerInput
registerInput(inputDirective: InputFacadeDirective, input: HTMLInputElement)

Registers a HTML input with the facade factory. For internal use.

param input

Parameters :
Name Type Optional Default value
inputDirective InputFacadeDirective No
input HTMLInputElement No inputDirective.inputElement
Returns : void

result-matching ""

    No results matching ""