Documentation
    Preparing search index...

    Interface TaskListItem

    interface TaskListItem {
        attributes?: Attributes;
        autoAttributes?: Attributes;
        checkbox: "checked" | "unchecked";
        children: Block[];
        data?: Data;
        position?: Position;
        type: "taskListItem";
    }

    Hierarchy (View Summary)

    Index

    Properties

    attributes?: Attributes

    Manually defined attributes. #<id> definitions will be converted to an id attribute and all .<class> declarations will be turned into one class attribute whose value is a string of space-delimited declaration identifiers (so, {.a .b} will turn into "class": "a b").

    autoAttributes?: Attributes

    Attributes added by the djot.js parser. This includes automatic ids on Section elements and a few others.

    checkbox: "checked" | "unchecked"

    checked if it has the form [x] or [X], unchecked if it's empty ([ ] with a single space).

    children: Block[]

    List of children.

    data?: Data

    Info from the ecosystem.

    position?: Position

    Position of a node in a source document.

    Nodes that are generated (not in the original source document) must not have a position.

    type: "taskListItem"

    Node type.