Skip to content

Commit cd5827b

Browse files
committed
blocks
1 parent c2f7ab4 commit cd5827b

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

guiComponents.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11

2+
23
//% block="MicroGUI" weight=100, color=#000A83
34
namespace microgui {
45
import AppInterface = user_interface_base.AppInterface
@@ -870,7 +871,8 @@ namespace microgui {
870871
// }
871872

872873

873-
//% block="Create a text button | with text $text on click $callback || at x $x at y $y with colour $colour with text colour $textColour"
874+
//% block="Create a text button | with text $text on click $callback event || at x $x at y $y with colour $colour with text colour $textColour"
875+
//% draggableParameters
874876
//% blockSetVariable=textBtn
875877
export function createTextBtn(
876878
text: string,
@@ -1798,3 +1800,4 @@ namespace microgui {
17981800
}
17991801

18001802

1803+

0 commit comments

Comments
 (0)