Migrate jqhtml slot syntax from <#name> to <Slot:name>
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -55,10 +55,10 @@ Indexes all files in `/rsx/` for automatic discovery and loading.
|
||||
|
||||
## JQHTML Named Slots (v2.2.112+)
|
||||
|
||||
Child template syntax changed from `<#slotname />` tags to `content('slotname')` function:
|
||||
- Old: `<#header />` (deprecated)
|
||||
Child template syntax changed from `<Slot:slotname />` tags to `content('slotname')` function:
|
||||
- Old: `<Slot:header />` (deprecated)
|
||||
- New: `<%= content('header') %>` (v2.2.112+)
|
||||
- Parent syntax unchanged: `<#header>content</#header>`
|
||||
- Parent syntax: `<Slot:header>content</Slot:header>`
|
||||
|
||||
## JQHTML Slot-Based Template Inheritance (v2.2.108+)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user