This procedure adds a RequireJS define after RequireJS has been loaded to let it know about the existence of a library.
Syntax
APEX_JAVASCRIPT.add_requirejs_define ( p_module in varchar2, p_js_expression in varchar2 );
Parameters
Table 19-8 ADD_REQUIREJS_DEFINE Parameters
Parameter | Description |
---|---|
|
|
|
Example
apex_javascript.add_requirejs_define ( p_module => 'hammerjs', p_js_expression => 'Hammer' );
Parent topic: APEX_JAVASCRIPT