Hello everyone, I am trying to create a new block using an extension. I want the block to handle more the one handler, an example for it can be the if+else block in the logic section.
*At first I need it to handle only 2 handlers(like if+else), but it would be even better if it was expandable(like the if).
Does anyone know how to make it happen?
*A code of the “if” block by MakeCode as in the photo would help me a lot.
This may not solve your problems, but the MakeCode playground is a great tool to explore the block styles and prototype blocks. See: https://makecode.com/playground .
About the closest example is has is the in-line event handler.