Skip to content

Accessing children #106

Open
Open
@jacobjuul

Description

@jacobjuul

Let's say I have this webcomponent

<my-component>some text I want access to in react</my-component>

I assumed the text would be available as children in the react component, but it's not as far as I can tell. Can I access this.textContent somehow instead?

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedAccepted for developmentenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions