docs(api): point raw shims at targets
Keep compatibility shim docs aligned with generated target objects as the preferred partial/swap authoring API. req: dx/006
This commit is contained in:
+3
-3
@@ -20,7 +20,7 @@ pub fn render_html(view: &impl hemplate::Hemplate) -> SafeHtml {
|
||||
|
||||
/// Compatibility shim for raw slot rendering.
|
||||
///
|
||||
/// Prefer generated view-module commands such as `ui::put(slot, &view)` so
|
||||
/// Prefer generated target objects such as `targets::list.put(&view)` so
|
||||
/// generated resource lowering stays attached to the view boundary. req: dx/006
|
||||
#[doc(hidden)]
|
||||
pub trait RenderSlotExt {
|
||||
@@ -42,8 +42,8 @@ impl<T> RenderSlotExt for Slot<T> {
|
||||
|
||||
/// Compatibility shim for raw keyed slot rendering.
|
||||
///
|
||||
/// Prefer generated view-module commands such as `ui::append(slot, key, &view)`
|
||||
/// so generated resource lowering stays attached to the view boundary. req: dx/006
|
||||
/// Prefer generated target objects such as `targets::row.append(key, &view)` so
|
||||
/// generated resource lowering stays attached to the view boundary. req: dx/006
|
||||
#[doc(hidden)]
|
||||
pub trait RenderKeyedSlotExt<K> {
|
||||
fn append(self, key: K, view: &impl hemplate::Hemplate) -> Effect;
|
||||
|
||||
Reference in New Issue
Block a user