adobe / adobe/react-webcomponent

@byContent not work inner loop element

Open
#25 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
104
Forks
20
PR merge metrics
No merged PRs in 30d

Description

- The @byContent() does not work inner loop element:
I implement as example codes:
`class ComponentItemModel extends DOMModel {
@byContent('section') content;
}
class ComponentModel extends DOMModel {
@byChildrenRefArray('component-item', ComponentItemModel) items;
}`
My html is as below:
`


my content






my content




`
- When I run the page to test them, the page always loading.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.