# Clipboard Class

# Constructors

# constructor

+ new Clipboard(sourceLeftCorner: SimpleCellAddress, width: number, height: number, type: ClipboardOperationType, content?: ClipboardCell[][]): Clipboard

Defined in src/ClipboardOperations.ts:51 (opens new window)

Parameters:

Name Type
sourceLeftCorner SimpleCellAddress
width number
height number
type ClipboardOperationType
content? ClipboardCell[][]

Returns: Clipboard

# Properties

# content OptionalReadonly

content? : ClipboardCell[][]

Defined in src/ClipboardOperations.ts:57 (opens new window)


# height Readonly

height: number

Defined in src/ClipboardOperations.ts:55 (opens new window)


# sourceLeftCorner Readonly

sourceLeftCorner: SimpleCellAddress

Defined in src/ClipboardOperations.ts:53 (opens new window)


# type Readonly

type: ClipboardOperationType

Defined in src/ClipboardOperations.ts:56 (opens new window)


# width Readonly

width: number

Defined in src/ClipboardOperations.ts:54 (opens new window)

# Methods

# getContent

getContent(leftCorner: SimpleCellAddress): IterableIterator‹[SimpleCellAddress, ClipboardCell]›

Defined in src/ClipboardOperations.ts:61 (opens new window)

Parameters:

Name Type
leftCorner SimpleCellAddress

Returns: IterableIterator‹[SimpleCellAddress, ClipboardCell]›