This properties manager is designed to wrap a browser source and allows switching the widget type. In the future, this will be responsible for changing the URL when the user logs into another account.

Hierarchy

Implements

Index

Constructors

constructor

  • new WidgetManager(obsSource: ISource, settings: Dictionary<any>): WidgetManager

Properties

blacklist

blacklist: string[] = ['url', 'is_local_file']

customUIComponent

customUIComponent: string = "WidgetProperties"

displayOrder

displayOrder: string[] = ['widgetType']

obsSource

obsSource: ISource

The source this class manages

settings

widgetsService

widgetsService: WidgetsService

Methods

applySettings

  • applySettings(settings: Dictionary<any>): void

destroy

  • destroy(): void

getPropertiesFormData

  • getPropertiesFormData(): input.TFormData

init

  • init(): void

setPropertiesFormData

  • setPropertiesFormData(properties: input.TFormData): void

setWidgetType