[][src]Module sauron::dom

Modules

apply_patches
test_fixtures

This is useful only for testing This is a simple component which just barely comply to being a component use for doing component tests

Structs

Browser

provides an interface for doing url request, such as fetch resize events, keyboard event, timeout event

CreatedNode

A node along with all of the closures that were created for that node's events and all of it's child node's events.

DomUpdater

Used for keeping a real DOM node up to date based on the current Node and a new incoming Node that represents our latest DOM state.

Http
Program

Holds the app and the dom updater This is passed into the event listener and the dispatch program will be called after the event is triggered.

Traits

Component

The app should implement this trait for it to be handled by the Program

Functions

apply_dumb_patch

Apply a patch to the DOM The patch can be coming from somewhere else, not only as the effect of dom_update, this can also come from a server_side pre-processed diff

body
create_dumb_node
document
history
now
performance
request_animation_frame
window

Type Definitions

Cmd