class Lune::Bridge

Defined in:

lune/bridge.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(wv : WebviewLike) #

[View source]

Instance Method Detail

def all_bindings : Hash(String, BindingDef) #

[View source]
def close! #

[View source]
def dispatch_eval(js : String) #

[View source]
def eval(js : String) #

[View source]
def register_binding(binding : BindingDef) #

Fix: ensure the block passed to bind_deferred returns Nil


[View source]
def register_bindings(bindings : Array(BindingDef)) #

Sync bindings


[View source]