Class: Redcarpet::Render::HTMLLazyImg::Auto

Inherits:
Base
  • Object
show all
Defined in:
lib/redcarpet/render/html_lazy_img.rb

Instance Method Summary collapse

Instance Method Details

#image(link, _title, alt_text) ⇒ Object



26
27
28
# File 'lib/redcarpet/render/html_lazy_img.rb', line 26

def image(link, _title, alt_text)
  image_tag_with_loading_attr(loading: 'auto', link: link, alt_text: alt_text)
end