Table of Contents - view_component-2.40.0 Documentation
Pages
- USAGE
- component.rb.tt
- component.html.erb.tt
- component.html.haml.tt
- component_preview.rb.tt
- component_spec.rb.tt
- component.html.slim.tt
- component_controller.js.tt
- component_test.rb.tt
- view_component.rake
Classes and Modules
- Erb
- Erb::Generators
- Erb::Generators::ComponentGenerator
- Haml
- Haml::Generators
- Haml::Generators::ComponentGenerator
- Preview
- Preview::Generators
- Preview::Generators::ComponentGenerator
- Rails
- Rails::Generators
- Rails::Generators::ComponentGenerator
- Rspec
- Rspec::Generators
- Rspec::Generators::ComponentGenerator
- Slim
- Slim::Generators
- Slim::Generators::ComponentGenerator
- Stimulus
- Stimulus::Generators
- Stimulus::Generators::ComponentGenerator
- TestUnit
- TestUnit::Generators
- TestUnit::Generators::ComponentGenerator
- ViewComponent
- ViewComponent::AbstractGenerator
- ViewComponent::Base
- ViewComponent::Collection
- ViewComponent::CompileCache
- ViewComponent::Compiler
- ViewComponent::ComponentError
- ViewComponent::ContentAreas
- ViewComponent::Engine
- ViewComponent::Instrumentation
- ViewComponent::Preview
- ViewComponent::PreviewTemplateError
- ViewComponent::Previewable
- ViewComponent::RenderComponentHelper
- ViewComponent::RenderComponentToStringHelper
- ViewComponent::RenderMonkeyPatch
- ViewComponent::RenderToStringMonkeyPatch
- ViewComponent::RenderingComponentHelper
- ViewComponent::RenderingMonkeyPatch
- ViewComponent::Slot
- ViewComponent::SlotV2
- ViewComponent::Slotable
- ViewComponent::SlotableV2
- ViewComponent::TemplateError
- ViewComponent::TestCase
- ViewComponent::TestHelpers
- ViewComponent::Translatable
- ViewComponent::Translatable::I18nBackend
- ViewComponent::VERSION
- ViewComponent::WithContentHelper
- YARD
- YARD::MattrAccessorHandler
Methods
- ::_after_compile — ViewComponent::Base
- ::_sidecar_files — ViewComponent::Base
- ::all — ViewComponent::Preview
- ::collection_counter_parameter — ViewComponent::Base
- ::collection_iteration_parameter — ViewComponent::Base
- ::collection_parameter — ViewComponent::Base
- ::compile — ViewComponent::Base
- ::compiled? — ViewComponent::Base
- ::compiler — ViewComponent::Base
- ::counter_argument_present? — ViewComponent::Base
- ::examples — ViewComponent::Preview
- ::exists? — ViewComponent::Preview
- ::find — ViewComponent::Preview
- ::format — ViewComponent::Base
- ::identifier — ViewComponent::Base
- ::included — ViewComponent::Instrumentation
- ::inherited — ViewComponent::Base
- ::initialize_parameter_names — ViewComponent::Base
- ::initialize_parameters — ViewComponent::Base
- ::iteration_argument_present? — ViewComponent::Base
- ::layout — ViewComponent::Preview
- ::load_previews — ViewComponent::Preview
- ::new — ViewComponent::Base
- ::new — ViewComponent::Collection
- ::new — ViewComponent::Compiler
- ::new — ViewComponent::SlotV2
- ::new — ViewComponent::TemplateError
- ::new — ViewComponent::Translatable::I18nBackend
- ::preview_example_template_path — ViewComponent::Preview
- ::preview_name — ViewComponent::Preview
- ::preview_paths — ViewComponent::Preview
- ::preview_source — ViewComponent::Preview
- ::provided_collection_parameter — ViewComponent::Base
- ::render_args — ViewComponent::Preview
- ::short_identifier — ViewComponent::Base
- ::type — ViewComponent::Base
- ::validate_collection_parameter! — ViewComponent::Base
- ::validate_initialization_parameters! — ViewComponent::Base
- ::with_collection — ViewComponent::Base
- ::with_collection_parameter — ViewComponent::Base
- #_after_compile — ViewComponent::Translatable
- #_output_postamble — ViewComponent::Base
- #before_render — ViewComponent::Base
- #before_render_check — ViewComponent::Base
- #build_controller — ViewComponent::TestHelpers
- #call_method_name — ViewComponent::Compiler
- #collection_variable — ViewComponent::Collection
- #compile — ViewComponent::Compiler
- #compiled? — ViewComponent::Compiler
- #compiled? — ViewComponent::CompileCache
- #compiled_template — ViewComponent::Compiler
- #component_options — ViewComponent::Collection
- #component_path — ViewComponent::AbstractGenerator
- #content — ViewComponent::Base
- #content_evaluated? — ViewComponent::Base
- #controller — ViewComponent::Base
- #controller — ViewComponent::TestHelpers
- #copy_view_file — Erb::Generators::ComponentGenerator
- #copy_view_file — Haml::Generators::ComponentGenerator
- #copy_view_file — Slim::Generators::ComponentGenerator
- #copy_view_file — ViewComponent::AbstractGenerator
- #create_component_file — Rails::Generators::ComponentGenerator
- #create_preview_file — Preview::Generators::ComponentGenerator
- #create_stimulus_controller — Stimulus::Generators::ComponentGenerator
- #create_test_file — Rspec::Generators::ComponentGenerator
- #create_test_file — TestUnit::Generators::ComponentGenerator
- #data_attributes — Erb::Generators::ComponentGenerator
- #define_render_template_for — ViewComponent::Compiler
- #destination — Stimulus::Generators::ComponentGenerator
- #destination — ViewComponent::AbstractGenerator
- #destination_directory — ViewComponent::AbstractGenerator
- #destination_file_name — ViewComponent::AbstractGenerator
- #engine_name — Erb::Generators::ComponentGenerator
- #engine_name — Haml::Generators::ComponentGenerator
- #engine_name — Slim::Generators::ComponentGenerator
- #file_name — Preview::Generators::ComponentGenerator
- #file_name — Rspec::Generators::ComponentGenerator
- #file_name — TestUnit::Generators::ComponentGenerator
- #file_name — ViewComponent::AbstractGenerator
- #format — ViewComponent::Base
- #get_slot — ViewComponent::SlotableV2
- #helpers — ViewComponent::Base
- #html_safe? — ViewComponent::SlotV2
- #i18n_scope — ViewComponent::Translatable
- #inherited — ViewComponent::Slotable
- #inherited — ViewComponent::SlotableV2
- #initialize_body — Rails::Generators::ComponentGenerator
- #initialize_call_method_for_inline? — Rails::Generators::ComponentGenerator
- #initialize_signature — Rails::Generators::ComponentGenerator
- #inline_calls — ViewComponent::Compiler
- #inline_calls_defined_on_self — ViewComponent::Compiler
- #invalidate! — ViewComponent::CompileCache
- #load_translations — ViewComponent::Translatable::I18nBackend
- #method_missing — ViewComponent::SlotV2
- #page — ViewComponent::TestHelpers
- #parent_class — Rails::Generators::ComponentGenerator
- #raise_if_slot_registered — ViewComponent::SlotableV2
- #refute_component_rendered — ViewComponent::TestHelpers
- #register — ViewComponent::CompileCache
- #register_slot — ViewComponent::SlotableV2
- #render — ViewComponent::Base
- #render — ViewComponent::Preview
- #render? — ViewComponent::Base
- #render_component — ViewComponent::Preview
- #render_in — ViewComponent::Base
- #render_in — ViewComponent::Collection
- #render_in — ViewComponent::Instrumentation
- #render_inline — ViewComponent::TestHelpers
- #render_with_template — ViewComponent::Preview
- #renders_many — ViewComponent::SlotableV2
- #renders_one — ViewComponent::SlotableV2
- #request — ViewComponent::Base
- #request — ViewComponent::TestHelpers
- #respond_to_missing? — ViewComponent::SlotV2
- #scope_data — ViewComponent::Translatable::I18nBackend
- #set_slot — ViewComponent::SlotableV2
- #slot — ViewComponent::Slotable
- #slot_type — ViewComponent::SlotableV2
- #stimulus_controller — ViewComponent::AbstractGenerator
- #store_translations — ViewComponent::Translatable::I18nBackend
- #t — ViewComponent::Translatable
- #template_errors — ViewComponent::Compiler
- #templates — ViewComponent::Compiler
- #to_s — ViewComponent::SlotV2
- #translate — ViewComponent::Translatable
- #validate_plural_slot_name — ViewComponent::SlotableV2
- #validate_singular_slot_name — ViewComponent::SlotableV2
- #variants — ViewComponent::Compiler
- #variants_from_inline_calls — ViewComponent::Compiler
- #view_cache_dependencies — ViewComponent::Base
- #virtual_path — ViewComponent::Base
- #with — ViewComponent::ContentAreas
- #with_content — ViewComponent::WithContentHelper
- #with_content_areas — ViewComponent::ContentAreas
- #with_controller_class — ViewComponent::TestHelpers
- #with_request_url — ViewComponent::TestHelpers
- #with_slot — ViewComponent::Slotable
- #with_variant — ViewComponent::Base
- #with_variant — ViewComponent::TestHelpers