ListItem

zio.blocks.docs.ListItem
final case class ListItem(content: Chunk[Block], checked: Option[Boolean]) extends Block

A list item, which may be a task list item.

Value parameters

checked

For task lists: Some(true) for [x], Some(false) for [ ], None for regular items

content

The blocks within the list item

Attributes

Source
Block.scala
Graph
Supertypes
trait Block
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala