description element

Syntax

<description xml:lang="string"
             its:dir="string">
string</description>

Description

The <description> element specifies a human-readable description for a BlackBerry WebWorks app.

You can access this element by using the blackberry.app.description property that is provided in the BlackBerry WebWorks API.

Parent elements

<widget>

Child elements

None

Occurrences

One

Attributes

You can use the following attributes in this element:

Attribute Description
xml:lang

The xml:lang attribute specifies the language that is used in the element. For more information about this attribute, visit www.w3.org/TR/html401/struct/dirlang.html.

This attribute is optional.

its:dir

The its:dir attribute specifies the directionality of the language. For example, its:dir="rtl" specifies a language that is written from right to left. For more information about this attribute, visit www.w3.org/TR/html401/struct/dirlang.html.

You can use this attribute for localization.

Example

<description>
   This app displays "Hello World" on the screen.
</description>

Last modified: 2014-10-09



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus