Pathfinder 1e for Foundry VTT
    Preparing search index...

    Class ContentSourceEditor

    Hierarchy

    • HandlebarsApplication<this> & DocumentSheetV2<
          any,
          RenderContext<any>,
          Configuration<any>,
          RenderOptions,
          this,
      >
      • ContentSourceEditor
    Index

    Constructors

    • Parameters

      • Optionaloptions: {}

      Returns ContentSourceEditor

    Properties

    tabGroups: { source: string } = ...

    If this Application uses tabbed navigation groups, this mapping is updated whenever the changeTab method is called. Reports the active tab for each group, with a value of null indicating no tab is active. Subclasses may override this property to define default tabs for each group.

    DEFAULT_OPTIONS: {
        actions: {
            add: (...this: any, event: Event, target: HTMLElement) => Promise<void>;
            delete: (
                ...this: any,
                event: Event,
                target: HTMLElement,
            ) => Promise<undefined>;
        };
        classes: string[];
        dragDrop: { dragSelector: string }[];
        form: {
            closeOnSubmit: boolean;
            handler: (
                ...this: any,
                event: Event,
                form: HTMLElement,
                formData: object,
            ) => any;
            submitOnChange: boolean;
            submitOnClose: boolean;
        };
        position: { height: string; width: number };
        sheetConfig: boolean;
        tag: string;
        window: { icon: string; minimizable: boolean; resizable: boolean };
    } = ...
    INDETERMINATE_CSS: string = "fa-solid fa-square-minus indeterminate"
    INVALID_CSS: string = "fa-solid fa-square-xmark invalid"
    PARTS: { form: { template: string; templates: string[] } } = ...
    VALID_CSS: string = "fa-solid fa-square-check valid"

    Accessors

    Methods

    • Internal

      Handle content source drop

      Parameters

      • event: DragEvent
      • dropData: object

      Returns Promise<undefined>

      • Does not work correctly when dealing with
    • Copy of ActorSheetV2 to enabled drag & drop

      Parameters

      • context: any
      • options: any

      Returns Promise<void>

    • Internal

      Parameters

      • partId: any
      • context: any
      • options: any

      Returns object

    • Parameters

      • ...this: any
      • event: Event
      • target: HTMLElement

      Returns Promise<undefined>

    • Parameters

      • ...this: any
      • event: Event
      • form: HTMLElement
      • formData: object

      Returns any