-
Notifications
You must be signed in to change notification settings - Fork 152
List of Demo Apps (The M Project 1.x)
This apps shows how to use content binding with The M-Project. There simply is a button that triggers an action inside of a controller everytime it is clicked. The action then increases two of the controller's properties. These properties are connected to two label views using content binding.
The charting application was built to demonstrate how to integrate a third-party framework with The M-Project. Our sample app uses Raphaël JS to show a pie chart. This chart is rendered inside an M.ContainerView
. There are lots of other frameworks out there, that could be included in the same way.
This app shows the basic use of M.DialogView
. You will see how to use the three types of dialogs we provide: Alert, Confirm and ActionSheet. This app also helps to get a better understanding of callbacks.
The divided list application shows how to use M.ListView
in the divided styling. It also shows how to use either the automatic search bar or your own search bar implementation.
Did you ever think about using content binding bi-directional? This sample application shows you how to do this with The M-Project.
This app shows how to work with M.SelectionListView
, introduces the three possible modes (single selection, multiple selection, single selection dialog) and shows how to use setSelection()
and getSelection()
.
The tabs and button groups application first of all shows how to use M.TabBarView
. You will learn how to set a tab bar up and how to integrate it into your pages. On the other hand this application shows how to use M.ButtonGroupView
and its different layout modes.
This simple twitter demo application shows how to work with M.Request
and M.ListView
. We basically send a request to twitter.com, depending on the user's input. This request returns the first ten tweets matching this input, that are afterwards rendered inside a list view.