Class: Webix::MainController

Inherits:
Volt::ModelController
  • Object
show all
Includes:
Volt::Watch
Defined in:
app/webix/controllers/main_controller.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#reactiveObject (readonly)

Returns the value of attribute reactive.



11
12
13
# File 'app/webix/controllers/main_controller.rb', line 11

def reactive
  @reactive
end

Instance Method Details

#before_index_removeObject



19
20
21
22
23
# File 'app/webix/controllers/main_controller.rb', line 19

def before_index_remove
  debug __method__, __LINE__
  stop_watches
  deinit_webix
end

#index_readyObject



13
14
15
16
17
# File 'app/webix/controllers/main_controller.rb', line 13

def index_ready
  debug __method__, __LINE__
  init_layout
  init_webix
end

#webixObject



25
26
27
# File 'app/webix/controllers/main_controller.rb', line 25

def webix
  page._webix
end