Loaders
Loader is the .svg file that is displayed during the loading of the slider content. To configure the loader, either full path to file must be specified as follows:
BX.SidePanel.Instance.open("/mypage.php", { loader: "/images/my-loader.svg" });
or the identifier of moduleId:loaderId type must be specified
BX.SidePanel.Instance.open("/mypage.php", { loader: "landing:list" //this will result in the path /bitrix/images/landing/slider/list.svg });
© «Bitrix24», 2001-2024