common Package

Rico Suter edited this page May 29, 2015 · 6 revisions

The "common" package provides some useful views and controls like predefined dialogs or a language selector. Most methods and views require the Bootstrap UI framework.

To use the package's methods, import the main module:

import common = require("common/main");

...

common.alert("MyTitle", "MyDescription");