[−][src]Crate sauron_vdom
Modules
builder |
Structs
Callback | |
Element | |
InputEvent | |
KeyEvent | |
Text |
Enums
Event | A container for generic event and the common values needed for the user. This events are derived from their corresponding backend source ie: html events from mouse, keypresses and input changes. This events should also be recreatable from gtk-rs, libui-rs, orbtk, ncurses, etc. |
MouseButton | A mouse button. |
MouseEvent | A mouse related event. |
Node | When building your views you'll typically use the |
Patch | A Patch encodes an operation that modifies a real DOM element. |
Value | Value is an abstraction of the values used in the actual backend. Html and gtk-rs have different set of compatible values therefore a need for a storage of these intermediate value is needed |
Traits
Component | This is the main app, the app routes whenever there is changes in the store this callback will be called |
View | A view should be able to return a vdom::Node A dumb view, recreated every time the parent widget calls on update |
Widget | A smart widget that its components can be changed before a view is created |
Functions
diff | Given two Node's generate Patch's that would turn the old virtual node's real DOM node equivalent into the new Node's real DOM node equivalent. |