Views: 550
Last Modified: 07.04.2022

Libraries can contain helper libraries that can be connected individually.

Full pat to file system:

`/bitrix/modules/<module_name>/install/js/<module_name>/<library_name>/<sub_library_name>/`

With this format, calling your library will look as follows:

\Bitrix\Main\UI\Extension::load('<module_name>.<library_name>.<sub_library_name>');

Number of nested folders is unlimited. Each new folder must be specified in the extension name, separated by a point:

<module_name>.<library_name>.<sub_library_name>.<sub_library_name_2>.<sub_library_name_3>

In this case, the path will look as follows:

/bitrix/modules/<module_name>/install/js/<module_name>/<library_name>/<sub_library_name>/<sub_library_name_2>/<sub_library_name_3>/




Courses developed by Bitrix24