Interface AppEditorProps

Properties for an editor.

Hierarchy

Properties

dimensions?: Dimensions

Optional outer application's view dimensions.

onChange?: ((event: { valid: boolean; value: HVal }) => void)

Type declaration

    • (event: { valid: boolean; value: HVal }): void
    • An optional callback that's invoked everytime a change is made to the editor.

      Parameters

      • event: { valid: boolean; value: HVal }

        The change event.

        • valid: boolean

          A flag indicating whether the value is valid or not.

        • value: HVal

          The updated haystack value.

      Returns void

readonly?: boolean

An optional readonly flag that tells the editor to run as readonly or not.

value: HVal

The current haystack value to render in the editor.

Generated using TypeDoc