Class: React::Ref

Inherits:
Object
  • Object
show all
Includes:
Native::Wrapper
Defined in:
lib/react/ref.rb

Instance Method Summary collapse

Instance Method Details

#currentObject



9
10
11
# File 'lib/react/ref.rb', line 9

def current
  `Opal.React.native_element_or_component_to_ruby(#@native.current)`
end

#is_wrapped_refObject



5
6
7
# File 'lib/react/ref.rb', line 5

def is_wrapped_ref
  true
end