Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface FieldScope

API to access information about and communicate with the current document field.

since

13.2

Hierarchy

  • FieldScope

Index

Methods

getCompareValue

  • getCompareValue(): Promise<string>
  • Gets the field value to compare the current value to. Only valid when the document editor mode is DocumentEditorMode.Compare.

    since

    13.2

    Returns Promise<string>

    A promise that resolves with the compare value, or null when the document editor mode is not DocumentEditorMode.Compare.

getValue

  • getValue(): Promise<string>
  • Gets the current field value.

    since

    13.2

    Returns Promise<string>

    A promise that resolves with the current field value.

setHeight

  • setHeight(height: "auto" | "initial" | number): Promise<void>
  • Set the height of the surrounding iframe.

    since

    13.2

    Parameters

    • height: "auto" | "initial" | number

      the number of pixels or 'auto' for automatic height detection or 'initial' for initial height from the config

    Returns Promise<void>

setValue

  • setValue(value: string): Promise<void>
  • Updates current field value.

    since

    13.2

    Parameters

    • value: string

      the new field value

    Returns Promise<void>