تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[],[],null,["# Interface: ResultsContainerAdapter\n\nResultsContainerAdapter\n=======================\n\ninterface\n\nThe Adapter of results container\n\nMethods\n-------\n\n### createFacetResultElement\n\ncreateFacetResultElement(result) returns Element\n\nImplement this method to override rendering of a facet result.\n\n| #### Parameter ||\n|--------|--------------------------------------------------------------------|\n| result | Object A facet result object from response Value must not be null. |\n\nReturns\n\n: `non-null Element` element Element built based on a facet result.\n\n### createSearchResultElement\n\ncreateSearchResultElement(result) returns Element\n\nImplement this method to override rendering of a search result.\n\n| #### Parameter ||\n|--------|---------------------------------------------------------------------|\n| result | Object A search result object from response Value must not be null. |\n\nReturns\n\n: `non-null Element` element Element built based on a search result.\n\n### decorateFacetResultElement\n\ndecorateFacetResultElement(element, result)\n\nImplement this method to decorate a facet result, such as change CSS.\n\n| #### Parameter ||\n|---------|--------------------------------------------------------------------|\n| element | Element Element you can decorate on. Value must not be null. |\n| result | Object A facet result object from response Value must not be null. |\n\n### decoratePaginationElement\n\ndecoratePaginationElement(element)\n\nImplement this method to decorate pagination buttons, such as change CSS.\n\n| #### Parameter ||\n|---------|----------------------------------------------------------------|\n| element | Element Element of pagination buttons. Value must not be null. |\n\n### decorateSearchResultElement\n\ndecorateSearchResultElement(element, result)\n\nImplement this method to decorate a search result, such as change CSS.\n\n| #### Parameter ||\n|---------|---------------------------------------------------------------------|\n| element | Element Element you can decorate on. Value must not be null. |\n| result | Object A search result object from response Value must not be null. |\n\n### interceptSearchRequest\n\ninterceptSearchRequest(request) returns Object\n\nImplement this method to add extra params in request.\n\n| #### Parameter ||\n|---------|-----------------------------------------------------|\n| request | Object The original request Value must not be null. |\n\nReturns\n\n: `non-null Object` request The updated request\n\n### interceptSearchResponse\n\ninterceptSearchResponse(response)\n\nImplement this method to read the response prior to rendering. The\nresponse object is read-only. If the search call fails, the response\nwill contain the error.\n\nIf a new search request is issued while one is pending, the previous\nrequest is cancelled and the method is not called.\n\n| #### Parameter ||\n|----------|----------------------------------------------------|\n| response | Object The search response Value must not be null. |"]]