Foundry Virtual Tabletop - API Documentation - Version 14
    Preparing search index...

    Variable CardsConst

    Cards: {
        collection: typeof CardStacks;
        compendiumBanner: string;
        compendiumIndexFields: string[];
        dataModels: Record<string, typeof TypeDataModel>;
        documentClass: typeof documents.Cards;
        embedHandlers: DocumentEmbedHandler[];
        presets: {
            pokerDark: { label: string; src: string; type: string };
            pokerLight: { label: string; src: string; type: string };
        };
        sidebarIcon: string;
        typeHints: Record<string, string>;
        typeIcons: Record<string, string>;
        typeLabels: Record<string, string>;
    } = ...

    Configuration for the Cards primary Document type

    Type Declaration

    • collection: typeof CardStacks
    • compendiumBanner: string
    • compendiumIndexFields: string[]
    • dataModels: Record<string, typeof TypeDataModel>
    • documentClass: typeof documents.Cards
    • embedHandlers: DocumentEmbedHandler[]
    • presets: {
          pokerDark: { label: string; src: string; type: string };
          pokerLight: { label: string; src: string; type: string };
      }
    • sidebarIcon: string
    • typeHints: Record<string, string>
    • typeIcons: Record<string, string>
    • typeLabels: Record<string, string>