@base-framework/base 3.5.45 → 3.5.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/copilot.md +0 -3
- package/package.json +1 -1
package/copilot.md
CHANGED
|
@@ -67,9 +67,6 @@ Purpose: concise, project-specific guidance so AI agents are instantly productiv
|
|
|
67
67
|
- Basic: `{ for: [5, (i) => ({ tag: 'div', text: `Item ${i}` })] }`
|
|
68
68
|
- With data: `{ for: [['[[count]]', data], (i) => ({ tag: 'span', text: i })] }`
|
|
69
69
|
|
|
70
|
-
- **if** (conditional rendering):
|
|
71
|
-
- Basic: `{ if: [() => condition, { tag: 'div', text: 'Shown' }] }`
|
|
72
|
-
- With data: `{ if: [['[[isVisible]]', data], { tag: 'div', text: 'Visible' }] }`
|
|
73
70
|
- **NOTE**: Use regular JavaScript `condition && layout` for simpler cases
|
|
74
71
|
|
|
75
72
|
- **Watchers** (one-way binding, auto-updates when data changes):
|