Class: Ui::Table::SelectAll

Inherits:
Component
  • Object
show all
Defined in:
lib/ui/table/select_all.rb

Constant Summary

Constants inherited from Component

Component::VIEWPATH

Instance Method Summary collapse

Methods inherited from Component

#capture, #icon, #render_group

Instance Method Details

#showObject



4
5
6
7
8
9
10
11
12
13
14
15
# File 'lib/ui/table/select_all.rb', line 4

def show
  check_box_tag(
    name,
    value,
    selected,
    disabled: disabled,
    data: {
      "selectable-target": "selectAll",
      action: "click->selectable#selectAll"
    }
  )
end