Docs

Everything You Need to Know

Widgets

Intro

Truck Body

Truck is not just a DOM library or an MVC framework. It also provides an number of widgets to enable you to quickly build interactive interfaces. These are built to follow typical widget patterns across device platforms. By using a platform specific theme, such as Android, iOS or Windows, you will get the look and feel of each platform, regardless of which widget you use. All you have to do is initialize the widget according to your needs. Truck will make sure it looks and behaves appropriately for the target platform.

Truck widgets can be very simple or quite complex. Some can bind directly to a model so that the user's choice is updated on the model immediately. And other can store their state in Truck's Box.

Please take a look at the widgets in the menu to see what is available.