method
previewable?
v7.2.3 -
Show latest stable
- Class:
ActiveStorage::Blob::Representable
previewable?()public
Returns true if any registered previewer accepts the blob. By default, this will return true for videos and PDF documents.