new DefinitionList()
Simple class for creating a definition list.
Methods
-
add(field)
-
Add field to list.
Parameters:
Name Type Description field
H5P.Field -
get(index) → {H5P.Field}
-
Get field at given index.
Parameters:
Name Type Description index
number Returns:
- Type
- H5P.Field
-
size() → {number}
-
Get Number of fields.
Returns:
- Type
- number
-
toString() → {string}
-
Print definition list.
Returns:
HTML.- Type
- string