diff --git a/examples/widgets/index.sky b/examples/widgets/index.sky index f83dc19329..7d758ee561 100644 --- a/examples/widgets/index.sky +++ b/examples/widgets/index.sky @@ -1,88 +1,8 @@ #!mojo mojo:sky_viewer - - - - - - - - - - - - - - value = {{ inputValue }} - - - - Button - highlight: {{ myButton.highlight }} - clickCount: {{ clickCount }} - - - - Checkbox - highlight: {{ myCheckbox.highlight }} - checked: {{ myCheckbox.checked }} - Checkbox, default checked. - checked: {{ checked }} - - - - - one - two - three - - - A - B - C - - - - - - - + - diff --git a/examples/widgets/widget-root.sky b/examples/widgets/widget-root.sky new file mode 100644 index 0000000000..17975d9f1d --- /dev/null +++ b/examples/widgets/widget-root.sky @@ -0,0 +1,93 @@ + + + + + + + + + + + + + + + value = {{ inputValue }} + + + + Button + highlight: {{ myButton.highlight }} + clickCount: {{ clickCount }} + + + + Checkbox + highlight: {{ myCheckbox.highlight }} + checked: {{ myCheckbox.checked }} + Checkbox, default checked. + checked: {{ checked }} + + + + + one + two + three + + + A + B + C + + + + + +