Class: Plutonium::UI::Table::Components::SearchBar

Inherits:
Component::Base show all
Defined in:
lib/plutonium/ui/table/components/search_bar.rb

Instance Method Summary collapse

Methods included from Component::Behaviour

#around_template

Methods included from Component::Tokens

#classes, #tokens

Methods included from Component::Kit

#BuildActionButton, #BuildBlock, #BuildBreadcrumbs, #BuildColorModeSelector, #BuildDynaFrameContent, #BuildDynaFrameHost, #BuildEmptyCard, #BuildFrameNavigatorPanel, #BuildPageHeader, #BuildPanel, #BuildSkeletonTable, #BuildTabList, #BuildTableInfo, #BuildTablePagination, #BuildTableScopesBar, #BuildTableSearchBar, #method_missing, #respond_to_missing?

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Plutonium::UI::Component::Kit

Instance Method Details

#view_templateObject



8
9
10
11
12
13
14
# File 'lib/plutonium/ui/table/components/search_bar.rb', line 8

def view_template
  render current_definition.query_form.new(
    raw_resource_query_params,
    query_object: current_query_object,
    page_size: request.parameters[:limit]
  )
end