Replies: 2 comments 16 replies
-
Do you need to? children already have access to the parents scope. |
Beta Was this translation helpful? Give feedback.
16 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have the following code:
right now what am doing is
right now am manually passing
x-data={...$el.parentElement.$data, ... $el.parentElement.data()}
orx-data={...$el.parentElement.data()}
orx-data={...$el.parentElement.$data}
, is there an alpine way to pass data() object into child elements correctly ? I dont want to manually pass data everywhere.I am new to javascript, I am serving dynamic html from server side via python backend. Please help. Thanks..
Beta Was this translation helpful? Give feedback.
All reactions