Module: PictureTag::OutputFormats::DataAttributes

Included in:
DataImg, DataPicture
Defined in:
lib/jekyll-4-picture-tag/output_formats/data_attributes.rb

Overview

This is not an output format, it’s a module for use in others. It allows us to create JavaScript Library friendly markup, for things like LazyLoad

Instance Method Summary collapse

Instance Method Details

#base_markupObject



6
7
8
# File 'lib/jekyll-4-picture-tag/output_formats/data_attributes.rb', line 6

def base_markup
  build_noscript(super)
end