Replies: 6 comments 2 replies
-
You need to: |
Beta Was this translation helpful? Give feedback.
-
I was trying to do that before I created this post, but I’m getting an error when I add on_definition is at https://github.com/frankdugan3/pyro/blob/c9c768ac344341e620baece70a3347fbf78479a6/lib/pyro/component.ex#L337
|
Beta Was this translation helpful? Give feedback.
-
Related to frankdugan3/pyro#25 |
Beta Was this translation helpful? Give feedback.
-
This is a bug in another project. |
Beta Was this translation helpful? Give feedback.
-
With that bug fixed in a different library (Pyro), I am still not able to send props to Svelte components using their names. Also, slots don't work when I use the <.svelte-filename > convention. Slots work when I use the <.svelte > component. I know that slots aren't supported by LiveSvelte but, well, for some reason they work with the .svelte component. 🤷 Either I'm not putting At any rate, I can continue using the old way. |
Beta Was this translation helpful? Give feedback.
-
@woutdp Thanks for the suggestion but I was unable to get it to work, even with live views. |
Beta Was this translation helpful? Give feedback.
-
I am using version .8. I can only get
props={%{toastName: "toast name"}
to work in a heex template. I thoughttoastName="toast name"
was supposed to work in this version. Perhaps I misunderstood.https://github.com/dev-guy/phoenix-ash-svelte-flowbite/blob/84307021640f647a705c245961030cc2ec129d84/assets/svelte/Timeline.svelte
https://github.com/dev-guy/phoenix-ash-svelte-flowbite/blob/84307021640f647a705c245961030cc2ec129d84/lib/kantan_web/controllers/page_html/timeline.html.heex
Beta Was this translation helpful? Give feedback.
All reactions