class Maglove::Widgets::Image
Public Instance Methods
defaults()
click to toggle source
# File lib/maglove/widgets/image.rb, line 8 def defaults { style: "img-responsive", align: "center", source: false, magnify: false, tooltip_icon: "bullhorn", tooltip_text_alignment: "justify", tooltip_text_size: "medium", tooltip_position: "top-right", tooltip_text: "" } end
identifier()
click to toggle source
# File lib/maglove/widgets/image.rb, line 4 def identifier "image" end
template() { || ... }
click to toggle source
# File lib/maglove/widgets/image.rb, line 22 def template(&block) yield if block end