8.7 released—WinterCG Compliance Part 1
Learn more
TemplatedItemsView
interface TemplatedItemsView {
  itemTemplate: string | Template;
  itemTemplates: string | KeyedTemplate[];
  items: any[] | ItemsSource;
  off(event: "itemLoading", callback: (args: EventData) => void, thisArg?: any): void;
  on(event: "itemLoading", callback: (args: ItemEventData) => void, thisArg?: any): void;
  refresh(): void;
}

Summary

Properties

itemTemplate

itemTemplates

Methods

off

off(event: "itemLoading", callback: (args: EventData) => void, thisArg?: any): void
Parameter Default Description
event
"itemLoading"

callback
(args: EventData) => void

thisArg
any

Returns void

on

on(event: "itemLoading", callback: (args: ItemEventData) => void, thisArg?: any): void
Parameter Default Description
event
"itemLoading"

callback
(args: ItemEventData) => void

thisArg
any

Returns void

refresh

refresh(): void
Previous
Template