add Products addProducts : ( tile : Tile , products : TagExtended [] ) => void
close Expanded Tiles closeExpandedTiles : () => void
enable Auto Add New Tiles enableAutoAddNewTiles : () => void
fetch Tiles fetchTiles : ( page : number , limit : number ) => Promise < Tile [] >
Type declaration ( page : number , limit : number ) : Promise < Tile [] > Parameters page : number limit : number Returns Promise < Tile [] > Promise<Tile[]>
get Content Tags From Tile getContentTagsFromTile : ( tile : Tile ) => Content []
get First Product In Tile getFirstProductInTile : ( tile : Tile ) => undefined | Product
get Page getPage : () => number
Type declaration () : number Returns number number
get Product Tag By Id getProductTagById : ( id : string ) => undefined | Product
getProductTagsFromTile : ( tile ?: Tile ) => Product []
get Selected Product getSelectedProduct : () => undefined | Product
get Shopspots From Tile getShopspotsFromTile : ( tileId : string ) => Promise < Hotspot [] >
get Tile getTile : () => undefined | Tile
get Tile By Id getTileById : ( id : string ) => undefined | Tile
get Tiles getTiles : () => Tile []
Type declaration () : Tile [] Returns Tile [] Tile[]
has More Tiles hasMoreTiles : () => boolean
hide Tile By Id hideTileById : ( tileId : string ) => Promise < void >
load Tiles Until Visible Tiles Count loadTilesUntilVisibleTilesCount : () => Promise < void >
open Expanded Tiles openExpandedTiles : ( tileId : string ) => void
search Tiles searchTiles : ( query : string , replaceExisting ?: boolean ) => void
Type declaration ( query : string , replaceExisting ?: boolean ) : void Parameters query : string OptionalreplaceExisting : boolean Returns void search Tiles By Brand searchTilesByBrand : ( brand : string , replaceExisting ?: boolean ) => void
Type declaration ( brand : string , replaceExisting ?: boolean ) : void Parameters brand : string OptionalreplaceExisting : boolean Returns void search Tiles By Categories searchTilesByCategories : ( categories : string , replaceExisting ?: boolean ) => void
Type declaration ( categories : string , replaceExisting ?: boolean ) : void Parameters categories : string OptionalreplaceExisting : boolean Returns void search Tiles By Filter Id searchTilesByFilterId : ( filterId : number , replaceExisting ?: boolean ) => void
Type declaration ( filterId : number , replaceExisting ?: boolean ) : void Parameters filterId : number OptionalreplaceExisting : boolean Returns void search Tiles By Tag Group searchTilesByTagGroup : ( tagGroup : string , replaceExisting ?: boolean ) => void
Type declaration ( tagGroup : string , replaceExisting ?: boolean ) : void Parameters tagGroup : string OptionalreplaceExisting : boolean Returns void searchTilesByTags : ( tags : string , replaceExisting ?: boolean ) => void
Type declaration ( tags : string , replaceExisting ?: boolean ) : void Parameters tags : string OptionalreplaceExisting : boolean Returns void set Hide Broken Tiles setHideBrokenTiles : ( hideBrokenTiles : boolean ) => void
setMediaType : ( mediaType : "image" | "video" ) => void
set Preload Images setPreloadImages : ( preloadImages : boolean ) => void
set Selected Product Id setSelectedProductId : ( productId : string ) => void
set Tile setTile : ( tile : Tile ) => void
set Visible Tiles Count setVisibleTilesCount : ( visibleTileCount : number ) => void
wait For Tile waitForTile : ( tileId : string ) => Promise < undefined | Tile >
Remarks
The Tiles SDK provides methods for interacting with the widget's tiles, including searching, fetching, and managing tile states. Tiles are an essential part of the UGC platform, you will likely spend most of your time manipulating tiles and retrieving tile data with the Tiles API.