Sha256: 7f9c54f4cf2ca1b78ed2613e8223c67998c22d242d5700ed36ebc8e7b5383860
Contents?: true
Size: 1 KB
Versions: 4
Compression:
Stored size: 1 KB
Contents
#= require trix/models/attachment class Trix.ManagedAttachment extends Trix.BasicObject constructor: (@attachmentManager, @attachment) -> {@id, @file} = @attachment remove: -> @attachmentManager.requestRemovalOfAttachment(@attachment) @proxyMethod "attachment.getAttribute" @proxyMethod "attachment.hasAttribute" @proxyMethod "attachment.setAttribute" @proxyMethod "attachment.getAttributes" @proxyMethod "attachment.setAttributes" @proxyMethod "attachment.isPending" @proxyMethod "attachment.isPreviewable" @proxyMethod "attachment.getURL" @proxyMethod "attachment.getHref" @proxyMethod "attachment.getFilename" @proxyMethod "attachment.getFilesize" @proxyMethod "attachment.getFormattedFilesize" @proxyMethod "attachment.getExtension" @proxyMethod "attachment.getContentType" @proxyMethod "attachment.getFile" @proxyMethod "attachment.setFile" @proxyMethod "attachment.releaseFile" @proxyMethod "attachment.getUploadProgress" @proxyMethod "attachment.setUploadProgress"
Version data entries
4 entries across 4 versions & 1 rubygems