Class: Matestack::Ui::Bootstrap::Content::SmartCollection::Collection

Inherits:
BaseComponent
  • Object
show all
Includes:
Content, Filter, Paginate, VueJs::Components::Collection::Helper
Defined in:
lib/matestack/ui/bootstrap/content/smart_collection/collection.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Paginate

#current_page, #last_page, #paginate_partial, #pagination_nav_partial, #ul_classes

Methods included from Filter

#filter_input, #filter_partial

Methods included from Content

#content, #table_body, #table_footer, #table_head

Instance Attribute Details

#processed_filters=(value) ⇒ Object

Sets the attribute processed_filters

Parameters:

  • value

    the value to set the attribute processed_filters to.



35
36
37
# File 'lib/matestack/ui/bootstrap/content/smart_collection/collection.rb', line 35

def processed_filters=(value)
  @processed_filters = value
end

Instance Method Details

#responseObject



37
38
39
40
41
42
# File 'lib/matestack/ui/bootstrap/content/smart_collection/collection.rb', line 37

def response
  div id: context.id, class: "smart-collection" do
    filter_partial
    content
  end
end