Skip to content

problems assigning property  #7

Description

@fopsdev

hi

i'm trying to set a property on a custom element like:

let obj = {id:500}
    return html`
      <state-a .obj=${obj}></state-a>
...

in the connected callback of state-a custom element i get null if doing console.log(this.obj) ?
thanks for any enlightment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions