Add flush_sync and pre_render methods to core

This commit is contained in:
Jonathan Kelley committed 2024-01-28 01:30:33 -08:00
1 parent 3ccf520205
commit 7b0dcb3206
17 files changed
+378 -282

No files matched your search

+2 -2
View File
@@ -105,7 +105,7 @@ pub struct VNodeInner {
/// The inner list *must* be in the format [static named attributes, remaining dynamically named attributes].
///
/// For example:
/// ```rust
/// ```rust, ignore
/// div {
/// class: "{class}",
/// ..attrs,
@@ -116,7 +116,7 @@ pub struct VNodeInner {
/// ```
///
/// Would be represented as:
/// ```rust
/// ```rust, ignore
/// [
/// [class, every attribute in attrs sorted by name], // Slot 0 in the template
/// [color], // Slot 1 in the template