Great tutorial! Thanks for sharing. I'm thinking on how we could use this technique for other web components? Can we make like an AI component? Any advice 🙏
You can do anything with web components. You create a wrapper : the component, and can embed anything inside of it. The nice thing is that is appears only as ❮my-component❯ in your source code.
Cedric, If the output needed styling inside the , would you add inline styling or create a external stylesheet that includes the styling. Or, would you rely on css in the parent i.e. Bricks?
The component should own eveything it needs to work, style included. So it should include minimal style, that could be tweaked / extended later by user.
Thanks, this is a first video about weeb components. I will probably make at least anothere one to create the second type which does not extend an existing element.
This was a very interessting und helpful tutorial. Thanks a lot Cedric!
Glad you liked it!
An excellent video, Cédric. Thank you.
Thanks
Excellent tutorial. Hope for more of these types of tutorials.
Sure, just a matter of available time.
Thanks, it is very interesting 👌
Thanks for your comment !
Very interesting
Great tutorial! Thanks for sharing. I'm thinking on how we could use this technique for other web components? Can we make like an AI component? Any advice 🙏
You can do anything with web components. You create a wrapper : the component, and can embed anything inside of it. The nice thing is that is appears only as ❮my-component❯ in your source code.
Great stuff, thanks for sharing!
Thanks!
This is awesome! Loving this, thank you! 🙏🏻
Thanks!
Cedric, If the output needed styling inside the , would you add inline styling or create a external stylesheet that includes the styling. Or, would you rely on css in the parent i.e. Bricks?
The component should own eveything it needs to work, style included. So it should include minimal style, that could be tweaked / extended later by user.
so cool. I am learning how to code and use Wordpress etc, but this video is simply awesome. Do you have more tutorials on Web components?
Thanks, this is a first video about weeb components. I will probably make at least anothere one to create the second type which does not extend an existing element.
Also, how would you go about creating a custom component library that you might use in other developments?
Storing them in structeezy as custom structures, then exporting my structures / importing in the other project.