[FEATURE] Allow ContainerViewHelper to load RequireJS modules
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Documentation / Changelog / master / Feature-63913-AllowRequireJsModulesForContainerViewHelper.rst
1 =====================================================================
2 Feature: #63913 - Allow ContainerViewHelper to load RequireJS modules
3 =====================================================================
4
5 Description
6 ===========
7
8 The ContainerViewHelper can load RequireJS modules via the `includeRequireJsModules` attribute. The scripts are passed
9 as array.
10
11 .. code-block:: html
12
13 <f:be.container pageTitle="Extension Module" loadJQuery="true"
14 includeRequireJsModules="{
15 0:'TYPO3/CMS/Extension/Module',
16 1:'TYPO3/CMS/Extension/Module2',
17 2:'TYPO3/CMS/Extension/Module3',
18 3:'TYPO3/CMS/Extension/Module4'
19 }">