# Clipboard

Class · category: Internal

Source: https://github.com/playcanvas/editor-api/blob/4303c34bcee9a418297350899ad3a3f555526ec4/src/clipboard.ts#L9

Represents a custom clipboard with a specific name
which stores a value in localStorage under that name

## Constructors

### constructor

```ts
new Clipboard(name: string)
```

Constructor

**Parameters**

- `name` (`string`): The name of the clipboard.

## Accessors

### empty

```ts
get empty(): boolean
```

Gets whether the clipboard is empty

### value

```ts
get value(): string | object
set value(value: string | object)
```

Gets the value stored in the clipboard.
