Class: Twitter::Bootstrap::Components::V3::Thumbnail
- Defined in:
- app/components/twitter/bootstrap/components/v3/thumbnail.rb
Overview
Example with active storage:
= bootstrap_thumbnail(image_options: { src: main_app.url_for(picture.asset) })
Constant Summary collapse
- DEFAULT_IMAGE_SRC =
"https://placeholdit.imgix.net/~text?txtsize=16&txt=242x200&w=242&h=200".freeze
- DEFAULT_CONTAINER_CLASSES =
"col-xs-6 col-md-3".freeze
- DEFAULT_THUMBNAIL_CLASSES =
"thumbnail".freeze
Method Summary
Methods inherited from Base
Constructor Details
This class inherits a constructor from Twitter::Bootstrap::Components::V3::Base