webcomponents.dev icon indicating copy to clipboard operation
webcomponents.dev copied to clipboard

@api decorator can only be used as a decorator function LWC

Open Juan10193 opened this issue 3 years ago • 1 comments

📖 Reproduction steps

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

🙁 Current Behavior

Captura Captura

🙂 Expected Behavior

Pass values trough child LWC component's public properties @api

🔗 Link to the component

No response

🌐 What browser(s) are you seeing the problem on?

Chrome, Microsoft Edge

Browser version(s)

No response

Juan10193 avatar May 28 '22 03:05 Juan10193

Hi @Neckotone , sorry for the late feedback I'm unable to reproduce, can you provide a link to your component?

Cheers

muryoh avatar Jun 13 '22 08:06 muryoh