Class: MG::Web
Instance Attribute Summary
Attributes inherited from Node
#alpha, #anchor_point, #color, #name, #position, #rotation, #scale, #size, #z_index
Constructors collapse
-
#initialize ⇒ Web
constructor
Creates a new Web widget.
Loading Data collapse
-
#load_file(path) ⇒ self
Loads a given file into the widget.
-
#load_html(str, baseurl) ⇒ self
Loads a given HTML data into the widget.
-
#load_url(url) ⇒ self
Loads a given URL into the widget.
-
#reload ⇒ self
Reloads the current context.
-
#stop ⇒ self
Stops the current loading.
JavaScript Interface collapse
-
#evaluate(expr) ⇒ self
Evaluates the given JavaScript expression.
Methods inherited from Widget
#enabled=, #enabled?, #highlighted=, #highlighted?, #on_touch, #touch_enabled=, #touch_enabled?
Methods inherited from Node
#add, #children, #clear, #delete, #delete_from_parent, #intersects?, #number_of_running_actions, #parent, #run_action, #schedule, #schedule_once, #stop_action, #stop_all_actions, #unschedule, #visible=, #visible?
Constructor Details
#initialize ⇒ Web
Creates a new Web widget.
1775 |
# File 'doc/API_reference.rb', line 1775 def initialize; end |
Instance Method Details
#evaluate(expr) ⇒ self
Evaluates the given JavaScript expression.
1810 |
# File 'doc/API_reference.rb', line 1810 def evaluate(expr); end |
#load_file(path) ⇒ self
Loads a given file into the widget.
1794 |
# File 'doc/API_reference.rb', line 1794 def load_file(path); end |
#load_html(str, baseurl) ⇒ self
Loads a given HTML data into the widget.
1784 |
# File 'doc/API_reference.rb', line 1784 def load_html(str, baseurl); end |
#load_url(url) ⇒ self
Loads a given URL into the widget.
1789 |
# File 'doc/API_reference.rb', line 1789 def load_url(url); end |
#reload ⇒ self
Reloads the current context.
1802 |
# File 'doc/API_reference.rb', line 1802 def reload; end |
#stop ⇒ self
Stops the current loading.
1798 |
# File 'doc/API_reference.rb', line 1798 def stop; end |