-
Book Overview & Buying
-
Table Of Contents
qooxdoo Beginner's Guide
Let's learn about the comments and API documentation in qooxdoo programming before learning any other programming concepts.
The comments are non-compiled statements in the code. qooxdoo allows three different types of comments:
Single-line comment: A // (double slash) is used for single-line comments, in the code. The content after the double slash, till the end of the line, is a comment. It can be used as in the following code snippet:
var emp = new Employee();//declared to store the employee info
Multi-line comment: The content embedded between /* and */ is called a multi-line comment and can include multiple lines. It can be used as mentioned here:
/* Line of comment Another line of comment */
Doc comment: Documentation (doc) comment is used for documenting the qooxdoo API. These are similar to javadoc or JSDoc comments. It can be used as mentioned below:
/** Documentation for the code. This will appear in API doc. */
One of the usages of the doc...
Change the font size
Change margin width
Change background colour