문서
email
API
types
Type: Email Item

Type: Email Item

Email Item들에 사용되는 타입

EmailItemValueCallback

type EmailItemValueCallback = (
    ctx: PrintContext,
    item: EmailItem,
    row: number,
    value: any
) => any;

EmailItemStyleCallback

type EmailItemStyleCallback = (
    ctx: PrintContext,
    item: EmailItem,
    row: number,
    value: any
) => {
    [key: string]: string | undefined
};

EmailItemVisibleCallback

type EmailItemVisibleCallback = (
    ctx: PrintContext,
    item: EmailItem,
    row: number,
    value: any
) => boolean;

ContextValueCallback

type ContextValueCallback = (ctx: PrintContext) => any;

BoxItemsAlign

enum BoxItemsAlign {
    START = 'start',
    MIDDLE = 'middle',
    END = 'end'
}

Align

enum Align {
    LEFT = 'left',
    CENTER = 'center',
    RIGHT = 'right'
}