Tutorial by Examples

Presumably the simplest way to use compose is with a View only. This allows you to include HTML templates without the need to declare a ViewModel with bindable properties for each of them, making it easier to reuse smaller pieces of HTML. The BindingContext (ViewModel) of the View will be set to th...
Using compose with a View, ViewModel and Model is an easy way to reuse and combine different Views and ViewModels. Given the following View and ViewModel (applies to each alternative below): src/greeter.html <template> <h1>Hello, ${name}!</h1> </template> src/gree...

Page 1 of 1