CallioText API Reference - v0.0.22
    Preparing search index...

    Class Printer

    印刷器类。

    Index
    default_renderers: DefaultRendererDict
    first_class_concepts: FirstClassConceptDict
    inited: boolean
    renderers: RendererDict
    second_class_concepts: SecondClassConceptDict
    • 查询一个渲染器。

      Parameters

      • type: AllNodeTypes

        查找的节点类型。

      • Optionalname: string

        查找的概念名称。 如果type == "paragraph" || "text",那么name将会被忽略。 反之,如果type != "paragraph" && type != "text",那么name必须提供。

      Returns PrinterRenderer

    • 这个函数用于提前准备异步数据的初始化操作。

      Returns Promise<void>