Interface ITilesProps

interface ITilesProps {
    bodyFields?: string[];
    bodyTemplate?: string;
    className?: string;
    colSize?: string | number;
    el: HTMLElement;
    filterFields?: string[];
    items: any[];
    onBodyRendered?: ((el?, item?) => void);
    onCardBodyRendering?: ((cardBody?, item?) => void);
    onCardRendered?: ((el?, item?) => void);
    onCardRendering?: ((cardProps?, item?) => void);
    onClick?: ((el?, item?) => void);
    onColumnRendered?: ((el?, item?) => void);
    onFooterRendered?: ((el?, item?) => void);
    onHeaderRendered?: ((el?, item?) => void);
    onPaginationClick?: ((pageNumber?) => void);
    onPaginationRendered?: ((el?) => void);
    onRendered?: ((el?) => void);
    onSubTitleRendered?: ((el?, item?) => void);
    onTitleRendered?: ((el?, item?) => void);
    paginationLimit?: number;
    showFooter?: boolean;
    showHeader?: boolean;
    showPagination?: boolean;
    subTitleFields?: string[];
    subTitleTemplate?: string;
    titleFields?: string[];
    titleTemplate?: string;
}

Properties

bodyFields?: string[]
bodyTemplate?: string
className?: string
colSize?: string | number
el: HTMLElement
filterFields?: string[]
items: any[]
onBodyRendered?: ((el?, item?) => void)

Type declaration

    • (el?, item?): void
    • Parameters

      • Optional el: HTMLElement
      • Optional item: any

      Returns void

onCardBodyRendering?: ((cardBody?, item?) => void)

Type declaration

    • (cardBody?, item?): void
    • Parameters

      • Optional cardBody: ICardBody<Element>
      • Optional item: any

      Returns void

onCardRendered?: ((el?, item?) => void)

Type declaration

    • (el?, item?): void
    • Parameters

      • Optional el: HTMLElement
      • Optional item: any

      Returns void

onCardRendering?: ((cardProps?, item?) => void)

Type declaration

    • (cardProps?, item?): void
    • Parameters

      • Optional cardProps: ICardProps<Element>
      • Optional item: any

      Returns void

onClick?: ((el?, item?) => void)

Type declaration

    • (el?, item?): void
    • Parameters

      • Optional el: HTMLElement
      • Optional item: ICardBody<Element>

      Returns void

onColumnRendered?: ((el?, item?) => void)

Type declaration

    • (el?, item?): void
    • Parameters

      • Optional el: HTMLElement
      • Optional item: any

      Returns void

onFooterRendered?: ((el?, item?) => void)

Type declaration

    • (el?, item?): void
    • Parameters

      • Optional el: HTMLElement
      • Optional item: any

      Returns void

onHeaderRendered?: ((el?, item?) => void)

Type declaration

    • (el?, item?): void
    • Parameters

      • Optional el: HTMLElement
      • Optional item: any

      Returns void

onPaginationClick?: ((pageNumber?) => void)

Type declaration

    • (pageNumber?): void
    • Parameters

      • Optional pageNumber: number

      Returns void

onPaginationRendered?: ((el?) => void)

Type declaration

    • (el?): void
    • Parameters

      • Optional el: HTMLElement

      Returns void

onRendered?: ((el?) => void)

Type declaration

    • (el?): void
    • Parameters

      • Optional el: HTMLElement

      Returns void

onSubTitleRendered?: ((el?, item?) => void)

Type declaration

    • (el?, item?): void
    • Parameters

      • Optional el: HTMLElement
      • Optional item: any

      Returns void

onTitleRendered?: ((el?, item?) => void)

Type declaration

    • (el?, item?): void
    • Parameters

      • Optional el: HTMLElement
      • Optional item: any

      Returns void

paginationLimit?: number
showFooter?: boolean
showHeader?: boolean
showPagination?: boolean
subTitleFields?: string[]
subTitleTemplate?: string
titleFields?: string[]
titleTemplate?: string