Class: Select2::FieldController
- Inherits:
-
Volt::ModelController
- Object
- Volt::ModelController
- Select2::FieldController
- Defined in:
- app/select2/controllers/field_controller.rb
Instance Method Summary collapse
Instance Method Details
#index_ready ⇒ Object
3 4 5 |
# File 'app/select2/controllers/field_controller.rb', line 3 def index_ready `$(#{first_element}).select2(#{settings_from_attrs})` end |
#multiple_ready ⇒ Object
7 8 9 |
# File 'app/select2/controllers/field_controller.rb', line 7 def multiple_ready `$(#{first_element}).select2(#{settings_from_attrs})` end |