Class: Opine::Table
Direct Known Subclasses
Instance Attribute Summary collapse
-
#columns ⇒ Object
Returns the value of attribute columns.
-
#native ⇒ Object
Returns the value of attribute native.
-
#parent ⇒ Object
Returns the value of attribute parent.
-
#resources ⇒ Object
Returns the value of attribute resources.
Instance Method Summary collapse
Methods inherited from Widget
Constructor Details
This class inherits a constructor from Opine::Widget
Instance Attribute Details
#columns ⇒ Object
Returns the value of attribute columns.
2 3 4 |
# File 'lib/opine/widgets/table.rb', line 2 def columns @columns end |
#native ⇒ Object
Returns the value of attribute native.
2 3 4 |
# File 'lib/opine/widgets/table.rb', line 2 def native @native end |
#parent ⇒ Object
Returns the value of attribute parent.
2 3 4 |
# File 'lib/opine/widgets/table.rb', line 2 def parent @parent end |
#resources ⇒ Object
Returns the value of attribute resources.
2 3 4 |
# File 'lib/opine/widgets/table.rb', line 2 def resources @resources end |
Instance Method Details
#on_select_row(&block) ⇒ Object
4 5 6 |
# File 'lib/opine/widgets/table.rb', line 4 def on_select_row(&block) hooks[:on_select_row] = block end |