2015-03-26 07:46:08 +00:00
|
|
|
binding = process.atomBinding 'clipboard'
|
|
|
|
module.exports =
|
2015-05-22 09:29:11 +00:00
|
|
|
availableFormats: (type='standard') -> binding._availableFormats type
|
2015-03-26 07:46:08 +00:00
|
|
|
read: (format, type='standard') -> binding._read format, type
|
|
|
|
readText: (type='standard') -> binding._readText type
|
|
|
|
writeText: (text, type='standard') -> binding._writeText text, type
|
2015-05-22 09:29:11 +00:00
|
|
|
readHtml: (type='standard') -> binding._readHtml type
|
|
|
|
writeHtml: (markup, type='standard') -> binding._writeHtml markup, type
|
2015-03-26 07:46:08 +00:00
|
|
|
readImage: (type='standard') -> binding._readImage type
|
|
|
|
writeImage: (image, type='standard') -> binding._writeImage image, type
|
|
|
|
clear: (type='standard') -> binding._clear type
|