Skip to main content

bullet_list

BulletList

from dara.components.common.bullet_list import BulletList

class BulletList(ContentComponent)

BulletList

A component for creating bullet point lists. Takes a list of items to display and an optional parameter that specifies whether the list is ordered, defaults to unordered.

A BulletList component is created via:


from dara.components.common import BulletList

BulletList(items=['My', 'Unordered', 'Bullet', 'List'])

Arguments:

  • items: List of strings to render
  • numbered: Boolean, if True then number the bullets

Attributes

  • items: Union[List[str], Variable, DerivedVariable]
  • numbered: bool