Sha256: 238971d2e558c1e209d4f95e0de71bbede6e03b53428b8ac4b27d9b8bd1c1182

Contents?: true

Size: 378 Bytes

Versions: 46

Compression:

Stored size: 378 Bytes

Contents

# frozen_string_literal: true

module Decidim
  # This helper includes some methods to help with the inclusion of tooltips
  # on the layout.
  module TooltipHelper
    def with_tooltip(title, &block)
      content_tag(:span, data: { tooltip: true, disable_hover: false, keep_on_hover: true, click_open: false },
                         title: title, &block)
    end
  end
end

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
decidim-core-0.27.9 app/helpers/decidim/tooltip_helper.rb
decidim-core-0.27.8 app/helpers/decidim/tooltip_helper.rb
decidim-core-0.27.7 app/helpers/decidim/tooltip_helper.rb
decidim-core-0.27.6 app/helpers/decidim/tooltip_helper.rb
decidim-core-0.26.10 app/helpers/decidim/tooltip_helper.rb
decidim-core-0.26.9 app/helpers/decidim/tooltip_helper.rb
decidim-core-0.27.5 app/helpers/decidim/tooltip_helper.rb
decidim-core-0.26.8 app/helpers/decidim/tooltip_helper.rb
decidim-core-0.27.4 app/helpers/decidim/tooltip_helper.rb
decidim-core-0.27.3 app/helpers/decidim/tooltip_helper.rb
decidim-core-0.26.7 app/helpers/decidim/tooltip_helper.rb
decidim-core-0.26.5 app/helpers/decidim/tooltip_helper.rb
decidim-core-0.27.2 app/helpers/decidim/tooltip_helper.rb
decidim-core-0.27.1 app/helpers/decidim/tooltip_helper.rb
decidim-core-0.26.4 app/helpers/decidim/tooltip_helper.rb
decidim-core-0.27.0 app/helpers/decidim/tooltip_helper.rb
decidim-core-0.26.3 app/helpers/decidim/tooltip_helper.rb
decidim-core-0.27.0.rc2 app/helpers/decidim/tooltip_helper.rb
decidim-core-0.27.0.rc1 app/helpers/decidim/tooltip_helper.rb
decidim-core-0.26.2 app/helpers/decidim/tooltip_helper.rb