Sha256: 69ced5b6422776a66a390a10eebece49aa22b646a5c883297cad2fea4e6891e0

Contents?: true

Size: 898 Bytes

Versions: 20

Compression:

Stored size: 898 Bytes

Contents

# frozen_string_literal: true

require_relative '../../components/ccs/dashboard_section'

module CCS
  module FrontendHelpers
    module CCSFrontend
      # = CCS Dashboard Section
      #
      # This helper is used for generating the dashboard section component

      module DashboardSection
        # Generates the HTML for the CCS Dashboard Section component
        #
        # @param (see CCS::Components::CCS::DashboardSection#initialize)
        #
        # @option (see CCS::Components::CCS::DashboardSection#initialize)
        #
        # @return (see CCS::Components::CCS::DashboardSection#render)

        def ccs_dashboard_section(dashboard_section_panels, title_text = nil, **options)
          Components::CCS::DashboardSection.new(context: self, dashboard_section_panels: dashboard_section_panels, title_text: title_text, **options).render
        end
      end
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
ccs-frontend_helpers-2.1.0 lib/ccs/frontend_helpers/ccs_frontend/dashboard_section.rb
ccs-frontend_helpers-2.0.0 lib/ccs/frontend_helpers/ccs_frontend/dashboard_section.rb
ccs-frontend_helpers-1.2.0 lib/ccs/frontend_helpers/ccs_frontend/dashboard_section.rb
ccs-frontend_helpers-1.1.2 lib/ccs/frontend_helpers/ccs_frontend/dashboard_section.rb
ccs-frontend_helpers-1.1.1 lib/ccs/frontend_helpers/ccs_frontend/dashboard_section.rb
ccs-frontend_helpers-1.1.0 lib/ccs/frontend_helpers/ccs_frontend/dashboard_section.rb
ccs-frontend_helpers-1.1.0.beta0 lib/ccs/frontend_helpers/ccs_frontend/dashboard_section.rb
ccs-frontend_helpers-1.0.0 lib/ccs/frontend_helpers/ccs_frontend/dashboard_section.rb
ccs-frontend_helpers-0.5.0.beta1 lib/ccs/frontend_helpers/ccs_frontend/dashboard_section.rb
ccs-frontend_helpers-0.5.0.beta0 lib/ccs/frontend_helpers/ccs_frontend/dashboard_section.rb
ccs-frontend_helpers-0.3.0 lib/ccs/frontend_helpers/ccs_frontend/dashboard_section.rb
ccs-frontend_helpers-0.2.0 lib/ccs/frontend_helpers/ccs_frontend/dashboard_section.rb
ccs-frontend_helpers-0.1.2 lib/ccs/frontend_helpers/ccs_frontend/dashboard_section.rb
ccs-frontend_helpers-0.1.1 lib/ccs/frontend_helpers/ccs_frontend/dashboard_section.rb
ccs-frontend_helpers-0.1.1.rc.1 lib/ccs/frontend_helpers/ccs_frontend/dashboard_section.rb
ccs-frontend_helpers-0.1.0.rc.7 lib/ccs/frontend_helpers/ccs_frontend/dashboard_section.rb
ccs-frontend_helpers-0.1.0.rc.6 lib/ccs/frontend_helpers/ccs_frontend/dashboard_section.rb
ccs-frontend_helpers-0.1.0.rc.5 lib/ccs/frontend_helpers/ccs_frontend/dashboard_section.rb
ccs-frontend_helpers-0.1.0.rc.4 lib/ccs/frontend_helpers/ccs_frontend/dashboard_section.rb
ccs-frontend_helpers-0.1.0.rc.3 lib/ccs/frontend_helpers/ccs_frontend/dashboard_section.rb