nav-title | title | description |
---|---|---|
WrapLayout How-To |
How-To |
Examples for using WrapLayout |
Using a WrapLayout requires the WrapLayout module.
var wrapLayoutModule = require("ui/layouts/wrap-layout");
Other frequently used modules when working with a WrapLayout include:
var enums = require("ui/enums");
var wrapLayout = new wrapLayoutModule.WrapLayout();
wrapLayout.orientation = enums.Orientation.vertical;