Class: PhlexKit::DataTableBulkActions
- Inherits:
-
BaseComponent
- Object
- Phlex::HTML
- BaseComponent
- PhlexKit::DataTableBulkActions
- Defined in:
- app/components/phlex_kit/data_table/data_table_bulk_actions.rb
Overview
Action cluster revealed while rows are selected. See data_table.rb.
Instance Method Summary collapse
-
#initialize(**attrs) ⇒ DataTableBulkActions
constructor
A new instance of DataTableBulkActions.
- #view_template ⇒ Object
Methods inherited from BaseComponent
Constructor Details
#initialize(**attrs) ⇒ DataTableBulkActions
Returns a new instance of DataTableBulkActions.
4 5 6 |
# File 'app/components/phlex_kit/data_table/data_table_bulk_actions.rb', line 4 def initialize(**attrs) @attrs = attrs end |
Instance Method Details
#view_template ⇒ Object
8 9 10 11 12 13 |
# File 'app/components/phlex_kit/data_table/data_table_bulk_actions.rb', line 8 def view_template(&) div(**mix({ class: "pk-data-table-bulk-actions pk-hidden", data: { phlex_kit__data_table_target: "bulkActions" } }, @attrs), &) end |