Note: This is a pre-release of BagaWork. Many things will likely change before the first stable release.

Hello, World!

This example shows how to create the simplest possible Hello, World! app. The app consists of a single page the user can't leave, so not such a fun app ^^'

Open in Online Editor
class MyApp extends App{
	createStartPage(){
		return StartPage
	}
}
class StartPage extends Page{
	createGui(){
		return Text.text(`Hello, World!`)
	}
}