Hierarchy

  • any
    • DamageTypeSelector

Constructors

Properties

customTypes: Set<any>
damage: DamageTypes
types: Set<any>
DEFAULT_OPTIONS: {
    actions: {
        toggleDamageType: ((event) => void);
    };
    classes: string[];
    form: {
        closeOnSubmit: boolean;
        handler: ((event, formData) => Promise<any>);
    };
    position: {
        width: number;
    };
    sheetConfig: boolean;
    tag: string;
    window: {
        minimizable: boolean;
        resizable: boolean;
        title: string;
    };
} = ...

Type declaration

  • actions: {
        toggleDamageType: ((event) => void);
    }
    • toggleDamageType: ((event) => void)
        • (event): void
        • Internal

          Parameters

          • event: Event

          Returns void

  • classes: string[]
  • form: {
        closeOnSubmit: boolean;
        handler: ((event, formData) => Promise<any>);
    }
    • closeOnSubmit: boolean
    • handler: ((event, formData) => Promise<any>)
        • (event, formData): Promise<any>
        • Parameters

          • event: Event
          • formData: object

          Returns Promise<any>

  • position: {
        width: number;
    }
    • width: number
  • sheetConfig: boolean
  • tag: string
  • window: {
        minimizable: boolean;
        resizable: boolean;
        title: string;
    }
    • minimizable: boolean
    • resizable: boolean
    • title: string
PARTS: {
    footer: {
        template: string;
    };
    form: {
        scrollable: string[];
        template: string;
    };
} = ...

Type declaration

  • footer: {
        template: string;
    }
    • template: string
  • form: {
        scrollable: string[];
        template: string;
    }
    • scrollable: string[]
    • template: string

Accessors

Methods

  • Initialize the configuration for this application. Override the default ID to be unique to this entry selector instance based on document and attribute that is being edited.

    Parameters

    • options: ApplicationConfiguration

      The provided configuration options for the Application

    Returns ApplicationConfiguration

    The final configuration values for the application

  • Internal

    Returns Promise<{
        buttons: {
            icon: string;
            label: string;
            type: string;
        }[];
        categories: never[];
        customTypes: string;
        modifiers: {
            enabled: boolean;
            id: string;
        }[];
        types: Set<any>;
    }>

    Inherit Doc

    Async

Generated using TypeDoc