Giter Site home page Giter Site logo

Dropdown image about blockly-at-rduino HOT 5 CLOSED

LcKoh0830 avatar LcKoh0830 commented on August 30, 2024
Dropdown image

from blockly-at-rduino.

Comments (5)

SebCanet avatar SebCanet commented on August 30, 2024

Hi,
it's possible, you have example in Blockly's official guide: https://developers.google.com/blockly/guides/create-custom-blocks/fields/built-in-fields/dropdown#image_dropdowns

Enjoy.

from blockly-at-rduino.

LcKoh0830 avatar LcKoh0830 commented on August 30, 2024

@SebCanet Hi, thanks for the answer. Is it possible we can add the function (dropdown with image) into Blockly@duino? If yes, can you tell me how?

from blockly-at-rduino.

SebCanet avatar SebCanet commented on August 30, 2024

@LcKoh0830 Hi,
really sorry, I discover just now your answer...
Where would you add this function?

from blockly-at-rduino.

LcKoh0830 avatar LcKoh0830 commented on August 30, 2024

Hi, I had already forgot where should the function added.
But I think is the field_dropdown function do not have the function to handle image.
Blockly's official field_dropdown.js have the function to handle image, the blockly js here had been compressed, so I am not sure how to add it.

from blockly-at-rduino.

SebCanet avatar SebCanet commented on August 30, 2024

Maybe it will be a function for the new BlocklyDuino: https://github.com/BlocklyDuino/BlocklyDuino-v2
I'm working on it to reboot my soft because I made too many modification in original Blockly code, and I cannot update it anymore... So start back with their new features.

from blockly-at-rduino.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.