class Redomi::App

Defined in:

redomi/app.cr

Constructors

Instance Method Summary

Instance methods inherited from class Object

to_redomi(app) to_redomi

Constructor Detail

def self.new(ws : HTTP::WebSocket, &on_init : App -> ) #

[View source]

Instance Method Detail

def add_event_listener(node, event, proc : Node -> Void) #

[View source]
def create_element(tag, t : Node.class = Node) #

[View source]
def embed_stylesheet(css_code) #

[View source]
def eval(command) #

[View source]
def eval(command, *arg : Redomi::Type) #

[View source]
def eval_sync(command) #

[View source]
def eval_sync(command, *arg : Redomi::Type) #

[View source]
def init #

[View source]
def load_script(path) #

[View source]
def log(message) #

[View source]
def node_by_id(id) #

[View source]
def query_selector(query) #

[View source]
def root : Node #

[View source]