Modules
Macros
- Utility to apply methods to an object.
- A convenient shorthand for multiple
.attr(...)
calls. - The same as
fragment!
except it returns aBoxFragment
. - Creates a locally scoped CSS stylesheet.
- Helper utility that calls
clone
. - Converts an existing DOM node into a dominator
Dom
node. - Creates a
Fragment
which can be inserted into aDomBuilder
. - Creates an HTML
Dom
node. - Creates an
<a>
element which works with routing. - Changes an
<a>
element to work with routing. - A convenient shorthand for multiple
.prop(...)
calls. - Adds a pseudo rule to a
class!
stylesheet. - Attaches a shadow root to a
DomBuilder
. - A convenient shorthand for multiple
.style(...)
calls. - Creates a global CSS stylesheet.
- Creates an SVG
Dom
node. - Conditionally runs the methods based on a
cfg
rule. - Gives access to the internal DOM node.
Structs
- This is used by the
fragment!
andbox_fragment!
macros. - This is returned by the
window_size
function.
Enums
- The
ShadowRootMode
enum.
Constants
Traits
- A fragment is a collection of children which can be inserted into a
DomBuilder
.
Functions
- Appends a
Dom
into the real DOM. Signal
which says whether the window is fully loaded or not.- The same as
append_dom
except it replaces an existing DOM node. Signal
which gives the current width / height of the window.
Type Aliases
- A boxed
Fragment
. See the documentation forbox_fragment!
for more details.