Hello World Demo

The Hello World demo represents the most basic implementation of Lava. It shows a very basic example of data binding to a controller. The first textbox is bound to the Controller.first property and the second textbox is bound to the Controller.last property. These bindings are two-way meaning that, changes to the property will propagate to the UI and changes to the UI will propagate to the properties. Most UI controls that accept input are bound in both directions by default. The heading just under the textboxes is bound to the fullName computed property of the Controller. This means that any changes to the two textboxes will update the full name also.

Hello World!