@twip/web
    Preparing search index...

    Interface Styles

    The document's styles, for a style gallery.

    interface Styles {
        list(
            options?: { type?: "table" | "list" | "paragraph" | "character" },
        ): Promise<StyleInfo[]>;
        tile(id: StyleId, size: PreviewSize): Promise<PreviewPicture>;
    }
    Index
    • The styles, optionally of one type.

      Parameters

      • Optionaloptions: { type?: "table" | "list" | "paragraph" | "character" }

      Returns Promise<StyleInfo[]>