Skip to content

ClipboardService

injectable

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): void
NameTypeDescription
objectsDmsObject[]
modeClipboardDataMode
bucketstring
addToNavigatorClipBoard(data: string): any
NameTypeDescription
datastring
clear(bucket: string): void
NameTypeDescription
bucketstring
clipboard(bucket: string): Signal<ClipboardData | undefined>
NameTypeDescription
bucketstring
clipboard$(bucket: string): Observable<ClipboardData | undefined>
NameTypeDescription
bucketstring
getClipboardData(bucket: string): ClipboardData | undefined
NameTypeDescription
bucketstring
paste$(bucket: string): Observable<ClipboardData>
NameTypeDescription
bucketstring