ProductSelectorFieldAssembler::preloadResources

  1. Bitrix24 API (v. 23.675.0)
  2. catalog
  3. ProductSelectorFieldAssembler
  4. preloadResources
  • Модуль: catalog
  • Путь к файлу: ~/bitrix/modules/catalog/lib/grid/row/assembler/productselectorfieldassembler.php
  • Класс: BitrixCatalogGridRowAssemblerProductSelectorFieldAssembler
  • Вызов: ProductSelectorFieldAssembler::preloadResources
private function preloadResources(): void
{
	Asset::getInstance()->addJs('/bitrix/components/bitrix/catalog.grid.product.field/templates/.default/script.js');
	Asset::getInstance()->addCss('/bitrix/components/bitrix/catalog.grid.product.field/templates/.default/style.css');
}

Добавить комментарий