How to use Custom Elements in Wix (and when)

Поділитися
Вставка

КОМЕНТАРІ • 14

  • @thewixwiz
    @thewixwiz  17 днів тому

    Note: When creating custom elements in Blocks you may need to use this alternate syntax for declaring the observed attributes:
    static get observedAttributes() {
    return ["color", "size"];
    }

  • @HofmannsDream-bv9nj
    @HofmannsDream-bv9nj 17 днів тому +1

    Wow! Definitely yes for more custom elements, and it would be very cool if we could create a custom repeater and populate it with data from the CMS. I recently watched your Udemy course on repeaters, queries, etc., and loved it!

    • @thewixwiz
      @thewixwiz  13 днів тому

      Thanks for the suggestion!

  • @Felipe87eing
    @Felipe87eing 18 днів тому

    Great tutorial!

  • @jimmyboy7504
    @jimmyboy7504 8 днів тому

    Wow ❤️😉 i really like your videos ❤️

  • @MYKOTECH101
    @MYKOTECH101 17 днів тому

    I'm I'm so glad so much thank you you are so helpful teacher

  • @tonydaian8036
    @tonydaian8036 17 днів тому

    Thanks!

    • @thewixwiz
      @thewixwiz  16 днів тому

      Thanks for the support!

  • @federalix
    @federalix 24 дні тому

    hello Eitan, I am a big fan of your videos. I wanted to ask you, do you think this could be a solution to add a gallery to a repeater, as pro galleries can't be added? Or how would you do this?

    • @thewixwiz
      @thewixwiz  23 дні тому

      Hi, thanks for the support! You can use custom elements to build almost anything. Just take into account that your building it from scratch. You can't incorporate Wix elements into the custom element and the custom element can't be placed inside other elements (such as a repeater).

  • @labguy9711
    @labguy9711 14 днів тому

    hope you see this comment I know a little bit of HTML , JS , CSS , I want to build a internet speed examiner with WIX but I don't know how to add a costume code and how add a button and a responsive diagram to show internet stats , actually I don't know how to indicate an action to a button on WIx

    • @thewixwiz
      @thewixwiz  13 днів тому

      You're in the right place to start learning! Hope you enjoy the channel content.

  • @mrsamadon
    @mrsamadon 17 днів тому

    Hi @thewixwiz , this video is very helpful thank you so much. I have a problem on my site that when a member update their info. In The cms member/FullData i added a hook after update that never call when a site member update their info. But hook is called when admin update. Is there any way to call hook in member fulldata by site member?

    • @thewixwiz
      @thewixwiz  13 днів тому +1

      Hi, for Wix apps you don't use hooks like on regular CMS collections. Each app has it's own set of events that you can listen to from the events.js file for example:
      dev.wix.com/docs/velo/api-reference/wix-members-backend/events/on-member-updated