class Preact::Ref
Public Class Methods
new(native)
click to toggle source
# File lib/preact/ref.rb, line 5 def initialize(native) @native = native end
Public Instance Methods
current()
click to toggle source
# File lib/preact/ref.rb, line 13 def current `Opal.Preact.native_element_or_component_to_ruby(#@native.current)` end
is_wrapped_ref()
click to toggle source
# File lib/preact/ref.rb, line 9 def is_wrapped_ref true end