Create a new list element.

Description

Create a new list element.

Usage

1
2
  newList(..., isNumbered = FALSE, exportId = NULL,
    protection = PROTECTION.PUBLIC)

Arguments

...

Elements of type paragraph, list or result that will form the items in the list.

isNumbered

If set to FALSE, the list will be unordered with bullet points. If set to TRUE, the list will be numbered with arabic numerals.

exportId

Unique string to identify this element. Used to retrieve the element using getExportedElement.

protection

Procection level. One of PROTECTION.PUBLIC, PROTECTION.GROUP or PROTECTION.PRIVATE.

Value

New element.

Author(s)

Nils Gehlenborg nils@hms.harvard.edu

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.