What are Wix Blocks? - Full Tutorial

Поделиться
HTML-код
  • Опубликовано: 5 окт 2024

Комментарии • 21

  • @wuji5771
    @wuji5771 5 месяцев назад +1

    Probably kinda late for this, but to test the api prop without building you just go to Configuration > Preview and click the link that says "Test API Properties".

    • @thewixwiz
      @thewixwiz  5 месяцев назад

      Thanks for sharing!

  • @alperakbash
    @alperakbash Месяц назад

    Perfect video! Thank you so much. Any one has idea on how to send data from page to the installed block, you are most welcome.

    • @thewixwiz
      @thewixwiz  Месяц назад +1

      Glad to hear! Blocks have a feature called Widget Functions which can be called from the page. You can use a function to pass data using the functions params.
      dev.wix.com/docs/build-apps/develop-your-app/frameworks/wix-blocks/widget-api/blocks-widget-functions

  • @scipiodecastro310
    @scipiodecastro310 Месяц назад

    Hi thanks for sharing the video, any chance you can share the requirements wix sent you for publishing to the wix market?

    • @thewixwiz
      @thewixwiz  Месяц назад +1

      Hi, have you checked this out?
      dev.wix.com/docs/build-apps/develop-your-app/frameworks/wix-blocks/publish-blocks-apps-to-the-app-market/publish-a-blocks-app-to-the-app-market

    • @scipiodecastro310
      @scipiodecastro310 Месяц назад

      @@thewixwiz Yes I’m following all the tutorials but I was curious to know if the Wix team sent you extra requirements that were not listed in the SDK. I guess I misunderstood you.

  • @DanielTalero
    @DanielTalero 7 месяцев назад

    So useful as always

  • @AliAbbas-d9t
    @AliAbbas-d9t 7 месяцев назад +1

    I am getting 403 error by calling backend functionality , have you faced this error

    • @thewixwiz
      @thewixwiz  7 месяцев назад +1

      There are still a lot of issues with blocks especially when using other Velo APIs. I would recommend reporting the bug in the dev center.

  • @dabert5972
    @dabert5972 Год назад +1

    Is it possible to import libraries? Like if I needed to use a library I found on GitHub to render music charts, is there a way to do that?

    • @thewixwiz
      @thewixwiz  Год назад

      Only as an npm package. Or copying the entire code base.

  • @Mr_Tun-z8s
    @Mr_Tun-z8s 3 месяца назад

    Hi is any video on wix ticket events...?

    • @thewixwiz
      @thewixwiz  3 месяца назад

      Not yet but thanks for the suggestion! What are you trying to achieve?

  • @AshutoshJatkar
    @AshutoshJatkar 5 месяцев назад

    That breakpoint bug has not yet been fixed

    • @thewixwiz
      @thewixwiz  5 месяцев назад +1

      Maybe it's a feature 😛

  • @kirtansolanki5134
    @kirtansolanki5134 Год назад +1

    Hey, i am trying to add items in a form to a collection but evry time it just gives me empty field in the console and my collection, i have checked the id names of the collection and elements no problem in there, heres the code
    import wixData from 'wix-data';
    import wixLocationFrontend from 'wix-location-frontend';
    $w.onReady(function () {
    $w('#loginDetailsTxt').text = "Please enter these details before continuing";
    $w('#errorMsg').text = "Field empty/wrong format";
    const insertObj = {
    "fullName": $w("#nameInput").value,
    "title1": $w("#emailInput").value

    };
    //,$w('#nameInput').value,$w('#checkbox1').value$w('#emailInput').value
    $w('#loginBtn').onClick(() => {
    if ($w('#emailInput').valid === true && $w('#nameInput').valid === true) {

    wixData.insert("ChakraLogindetails", insertObj)
    .then((item) => {
    console.log(item);
    })
    .catch((error) => {
    console.log(error);
    })
    //wixLocationFrontend.to("www.isolvelife.com/chakra-cards");
    }
    else {
    $w('#errorMsg').show('fade');
    }
    });
    });
    console view:
    fullName: ""
    title1: ""
    _id: "0dbf012c-729e-4bc9-af0f-f45cd15e4b37"
    _owner: "ecd527f0-d2a0-4633-baf4-9777b5e0ffcc"
    _createdDate: "Tue Jun 27 2023 03:37:17 GMT+0530 (India Standard Time)"
    _updatedDate: "Tue Jun 27 2023 03:37:17 GMT+0530 (India Standard Time)"
    any help would be appriciated

    • @thewixwiz
      @thewixwiz  Год назад

      Hi 👋 for coding help I recommend posting on our forum www.thewixwiz.com/forum

    • @kirtansolanki5134
      @kirtansolanki5134 Год назад

      Done