ClipboardService
injectable
Methods
Section titled “Methods”addObjects
Section titled “addObjects”Add objects to the clipboard If you have an app that would like to have a separate section in the clipboard you’ll use a unique bucket to store your stuff. When observing chages to the clipboard you couls as well provide the bucket and you will only get
addObjects(objects: DmsObject[], mode: ClipboardDataMode, bucket: string): voidArguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
| objects | DmsObject[] | |
| mode | ClipboardDataMode | |
| bucket | string |
addToNavigatorClipBoard
Section titled “addToNavigatorClipBoard”addToNavigatorClipBoard(data: string): anyArguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
| data | string |
clear(bucket: string): voidArguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
| bucket | string |
clipboard
Section titled “clipboard”clipboard(bucket: string): Signal<ClipboardData | undefined>Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
| bucket | string |
clipboard$
Section titled “clipboard$”clipboard$(bucket: string): Observable<ClipboardData | undefined>Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
| bucket | string |
getClipboardData
Section titled “getClipboardData”getClipboardData(bucket: string): ClipboardData | undefinedArguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
| bucket | string |
paste$
Section titled “paste$”paste$(bucket: string): Observable<ClipboardData>Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
| bucket | string |