Skip to content

Conversation

williamthome
Copy link
Member

Core Changes

  • Clear placeholder content before mounting (innerHTML = '')
  • Add support for custom HTML attributes on wrapper elements
  • Support both static strings and dynamic Arizona templates

Documentation

  • 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

@williamthome williamthome force-pushed the feat/custom-wrapper-attributes branch from 3b7b4d9 to 33d55c3 Compare September 30, 2025 01:43
- 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)
@williamthome williamthome force-pushed the feat/custom-wrapper-attributes branch from 33d55c3 to 5adce77 Compare September 30, 2025 01:45
@williamthome williamthome merged commit 64558e9 into main Sep 30, 2025
13 checks passed
@williamthome williamthome deleted the feat/custom-wrapper-attributes branch September 30, 2025 01:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant