Interface CopyServiceIf

Hierarchy

  • CopyServiceIf

Implemented by

Methods

  • Copies the content to a specified location.

    Parameters

    • content: string

      The content to be copied.

    Returns Promise<void>

    • A Promise that resolves when the content is successfully copied.
  • Copies the selected data from the table to the clipboard.

    Parameters

    • tableModel: TableModelIf

      The table model containing the data.

    • selectionModel: undefined | SelectionModelIf

      The selection model containing the selected rows/columns.

    • focusModel: undefined | FocusModelIf

      The focus model containing the focused cell.

    Returns Promise<string>

    • A promise that resolves with the copied data as a string.
  • Creates content based on the provided table model, selection model, and focus model.

    Parameters

    • tableModel: TableModelIf

      The table model representing the data.

    • selectionModel: undefined | SelectionModelIf

      The selection model for the table.

    • focusModel: undefined | FocusModelIf

      The focus model for the table.

    Returns Promise<string>

    • A promise that resolves to the generated content as a string.