DH5AppManifest._categories

categories - defining the names of categories that the application supposedly belongs to. Examples for categories (W3C) are "books", "business", "education", "entertainment", "finance", "fitness", "food", "games", "government", "health", "kids", "lifestyle", "magazines", "medical", "music", "navigation", "news", "personalization", "photo", "politics", "productivity", "security", "shopping", "social", "sports", "travel", "utilities", "weather" and vendor-specific values.

class DH5AppManifest
protected
string[] _categories;

Examples

description - string in which developers can explain what the application does. description is directionality-capable

assert(H5AppManifest.description("This is an app").description == "This is an app");
assert(H5AppManifest.description("This is an app").description("This is a second app").description == "This is a second app");

dir - base direction in which to display direction-capable members of the manifest. Direction-capable members are name, short_name and _description Valid values are "auto", "ltr" and "rtl"

assert(H5AppManifest.dir("auto").dir == "auto");

display - determines the developers’ preferred display mode for the website. Valid values are "fullscreen" - All of the available display area is used and no user agent chrome is shown. "standalone" - Application will look and feel like a standalone application. This can include the application having a different window, its own icon in the application launcher, etc. In this mode, the user agent will exclude UI elements for controlling navigation, but can include other UI elements such as a status bar. * "minimal-ui" - Application will look and feel like a standalone application, but will have a minimal set of UI elements for controlling navigation. The elements will vary by browser. * "browser" - (Default) Application opens in a conventional browser tab or new window, depending on the browser and platform.

assert(H5AppManifest.display("fullscreen").display == "fullscreen");

Meta