This class is the custom scripting library that allows configurators to implement custom scripting in a backwards compatible way.

Hierarchy

  • CslBase
    • CustomScriptingLibrary

Properties

componentId: string = ''

The component id of the current view instance.

Accessors

  • get componentConfig(): Component
  • The configuration of the component to render.

    Returns Component

  • get htmlElement(): any
  • The rendered HTML of the view.

    Returns any

  • get viewConfig(): UpdateView | MultiRecordView | SingleRecordView | CreateView
  • The configuration of the view to render.

    Returns UpdateView | MultiRecordView | SingleRecordView | CreateView

  • get viewFields(): ViewField[]
  • The viewFields of the view.

    Returns ViewField[]

Methods

  • When using custom scripting, some functions might have been registered globally. These global functions on their turn can use the CSL but when this happens, the Angular change detection cycle with NgZone is not triggered. This function will wrap any calls that might cause unexpected behavior inside an NgZone wrapper to ensure change detection will be run after calling the CSL function from inside a globally registered function.

    Returns void

Generated using TypeDoc