[−][src]Module seed::dom_types
This module contains structs and enums that represent dom types, and their parts. These are the types used internally by our virtual dom.
Structs
Attrs | A thinly-wrapped |
DidMount | |
DidUpdate | |
El | An component in our virtual DOM. |
LifecycleHooks | |
Listener | Ev-handling for Elements |
Style | Handle Style separately from Attrs, since it commonly involves multiple parts, and has a different semantic meaning. |
WillUnmount |
Enums
At | The Ev enum restricts element-creation to only valid event names, as defined here: https://developer.mozilla.org/en-US/docs/Web/Evs |
Ev | The Ev enum restricts element-creation to only valid event names, as defined here: https://developer.mozilla.org/en-US/docs/Web/Evs |
Namespace | Common Namespaces |
Optimize | WIP that marks elements in ways to improve diffing and rendering efficiency. |
St | The Ev enum restricts element-creation to only valid event names, as defined here: https://developer.mozilla.org/en-US/docs/Web/Evs |
Tag | The Tag enum restricts element-creation to only valid tags, as defined here: https://developer.mozilla.org/en-US/docs/Web/HTML/Element |
Constants
UPDATE_TRIGGER_EVENT_ID |
Traits
ElContainer | |
MessageMapper | |
UpdateEl |
|
Functions
did_mount | A constructor for |
did_update | A constructor for |
input_ev | Create an event that passes a String of field text, for fast input handling. |
keyboard_ev | Create an event that passes a |
mouse_ev | See |
pointer_ev | See |
raw_ev | Create an event that passes a |
simple_ev | Create an event that passes no data, other than it occurred. Foregoes using a closure, in favor of pointing to a message directly. |
trigger_update_ev | Create an event that passes a |
trigger_update_handler | Trigger update function from outside of App |
will_unmount | A constructor for |