Class: UIView
Instance Method Summary collapse
- #append(view_or_constant, style = nil, opts = {}) ⇒ Object
- #append!(view_or_constant, style = nil, opts = {}) ⇒ Object
- #apply_style(style_name) ⇒ Object
- #build(view, style = nil, opts = {}) ⇒ Object
- #build!(view, style = nil, opts = {}) ⇒ Object
- #create(view_or_constant, style = nil, opts = {}) ⇒ Object
- #create!(view_or_constant, style = nil, opts = {}) ⇒ Object
- #on(event, args = {}, &block) ⇒ Object
- #prepend(view_or_constant, style = nil, opts = {}) ⇒ Object
- #prepend!(view_or_constant, style = nil, opts = {}) ⇒ Object
- #reapply_styles ⇒ Object
- #style(&block) ⇒ Object
Instance Method Details
#append(view_or_constant, style = nil, opts = {}) ⇒ Object
10 11 12 |
# File 'lib/project/ruby_motion_query/ext.rb', line 10 def append(view_or_constant, style=nil, opts = {}) rmq(self).append(view_or_constant, style, opts) end |
#append!(view_or_constant, style = nil, opts = {}) ⇒ Object
13 14 15 |
# File 'lib/project/ruby_motion_query/ext.rb', line 13 def append!(view_or_constant, style=nil, opts = {}) rmq(self).append!(view_or_constant, style, opts) end |
#apply_style(style_name) ⇒ Object
42 43 44 |
# File 'lib/project/ruby_motion_query/ext.rb', line 42 def apply_style(style_name) rmq(self).apply_style(style_name) end |
#build(view, style = nil, opts = {}) ⇒ Object
31 32 33 |
# File 'lib/project/ruby_motion_query/ext.rb', line 31 def build(view, style = nil, opts = {}) rmq(self).build(view, style, opts) end |
#build!(view, style = nil, opts = {}) ⇒ Object
34 35 36 |
# File 'lib/project/ruby_motion_query/ext.rb', line 34 def build!(view, style = nil, opts = {}) rmq(self).build!(view, style, opts) end |
#create(view_or_constant, style = nil, opts = {}) ⇒ Object
24 25 26 |
# File 'lib/project/ruby_motion_query/ext.rb', line 24 def create(view_or_constant, style=nil, opts = {}) rmq(self).create(view_or_constant, style, opts) end |
#create!(view_or_constant, style = nil, opts = {}) ⇒ Object
27 28 29 |
# File 'lib/project/ruby_motion_query/ext.rb', line 27 def create!(view_or_constant, style=nil, opts = {}) rmq(self).create!(view_or_constant, style, opts) end |
#on(event, args = {}, &block) ⇒ Object
38 39 40 |
# File 'lib/project/ruby_motion_query/ext.rb', line 38 def on(event, args = {}, &block) rmq(self).on(event, args, block) end |
#prepend(view_or_constant, style = nil, opts = {}) ⇒ Object
17 18 19 |
# File 'lib/project/ruby_motion_query/ext.rb', line 17 def prepend(view_or_constant, style=nil, opts = {}) rmq(self).prepend(view_or_constant, style, opts) end |
#prepend!(view_or_constant, style = nil, opts = {}) ⇒ Object
20 21 22 |
# File 'lib/project/ruby_motion_query/ext.rb', line 20 def prepend!(view_or_constant, style=nil, opts = {}) rmq(self).prepend!(view_or_constant, style, opts) end |
#reapply_styles ⇒ Object
46 47 48 |
# File 'lib/project/ruby_motion_query/ext.rb', line 46 def reapply_styles rmq(self).reapply_styles end |
#style(&block) ⇒ Object
50 51 52 |
# File 'lib/project/ruby_motion_query/ext.rb', line 50 def style(&block) rmq(self).style(block) end |