Method: Sidebars::Concerns::ContainerWithHtmlOptions#container_html_options

Defined in:
lib/sidebars/concerns/container_with_html_options.rb

#container_html_optionsObject

The attributes returned from this method will be applied to helper methods like link_to or the div containing the container.



11
12
13
14
15
# File 'lib/sidebars/concerns/container_with_html_options.rb', line 11

def container_html_options
  {
    aria: { label: title }
  }.merge(extra_container_html_options)
end