You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add custom attributes support and clear placeholder content (#6)
- Clear placeholder content before mounting (innerHTML = '')
- Add support for custom HTML attributes on wrapper elements
- Support both static strings and dynamic Arizona templates
- Add comprehensive wrapper element documentation to README
- Explain DOM structure and why wrapper is necessary
- Show layout problems and solutions with visual examples
- Document display: contents for layout transparency
- Update all Erlang module docs with examples
- Enhance JavaScript JSDoc with DOM structure examples
- Add Common Test suite with organized groups
- Test static attributes (class, id, etc.)
- Test dynamic attributes (Arizona templates)
- All tests passing (3/3)
- README.md: +125 lines (wrapper docs, layout examples)
- arizona-svelte-lifecycle.js: Enhanced mountComponents() docs
- arizona_svelte.erl: Added render_component/3 with full docs
- arizona_svelte_template.erl: Added attributes() type docs
- arizona_svelte_components.erl: Documented wrapper purpose
- arizona_svelte_SUITE.erl: +86 lines (2 new test groups)
0 commit comments